Calculate Revenue's Percentage per Year, Month or any filter that is applied to the Dashboard in DAX using Excel PowerView.
Hello folks,
I am facing an odd issue here with a Dashboard Report in PowerView.
The task is to display, in a table, a percentage of total (revenue) by any filter that the client wants. For instance, if the client selects the year (to be short) 2013, it should display for each Customer the percentage of total as Participation field.
If the client select 2014, the data should change dinamically and the same if he selects both years.
The issue that I am facing is that it calculates correctly (showing total of 100%) for either 2013 or 2014, but when I select both it sums up and shows 200% total, altering all other lines with the same behavior.
So, basically what I need is to immitate a PARTITION BY analytic function, for instance, PARTITION BY YEAR and calculate the data over the total of the selected year only (if there are many years selected, the should be calculated over it, resulting in a
100% total).
Here is the formula that I am using in the column:
=[Valor NF]/CALCULATE(SUM([Valor NF]);ALLEXCEPT(Faturamento;Faturamento[Ano]))
Where [Valor NF] is the source column (invoyce total), Faturamento is my table (Revenue) and [Ano] is the year column, (I am calculating only by year to test)
I'd appreciate any suggestion.
Thanks in advance
MCP
Hi Nick,
Thanks for your suggestion and it worked for me I added the 'System message' web item and set the visibility to 'Hidden' .Now I am not getting any message. Thank you for both.
Thanks & Regards,
Raja
Similar Messages
-
I was understanding that I had 3 years after my initial warranty to schedule 1 on 1 or genius bar appointments. paying $99.00 per year. I was informed that my subsription has expired ? I have been out of town, can I renew my subscription for another term?
One to One can be purchased with your computer if you buy directly from Apple. The cost for one year is $99 renewable twice. Genius Bar appointments are scheduled at no cost to you. Genius Bar appointments are not as lengthy as the personal training appointments. Genius Bar is usually for diagnosis of a hardware failure or software issue. GB is not usually a tutorial session.
Hope that helps. -
I live in Mexico, buy the product in Mexico "creative cloud" $ 599.88 per year, I need to contact a representative of Mexico, the program can not be installed, they double charged me urgently.
Thank you.http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html
-orders, returns http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
hallo I would like to change from 200Gb to 500Gb iCloud memory, what does it cost per year?
Click here, find your country, and multiply the amount by 12.
(119186) -
Withholding Tax accumulation on monthly and per year basis
Hi,
one of client's requirement is they need to deduct TDS when the amount reaches 50,000 per month or 500,000 per month. In standard we can only give one accumulation type in withholding tax type definition, either per month or per year and also in min base amount there is only one field.
Is there any user exit available for this??
Can anyone please help me solve this issue.
Thanks & Regards,
JyotiHI Jyothi,
above funtionality is not possible is Standard SAP.
Only one Accumulation is possible.
As per my knowledge there is no user-exit also.
Reg
Madhu M -
Get amount of megabytes for the message transfer per day, month, year
Dear experts,
can you please tell me the name of the report which can be used to get the amount of megabytes for the message transfer per day, month, year etc.? I can't find it in our system.
Best regards,
DavidHi,
Check this blog: /people/gourav.khare2/blog/2007/12/12/interesting-abap-tables-in-xi-150-part-i
SXMSPFRAWH: this table contains runtime performance data for successful message and sender and receiver information is stored as address id that derive information from SXMSPFADDRESS, from this table you can find out volume and latency also.
Regards,
Gourav -
Hello
How to switch to Photoshop 9.99€ month payment to a unique payment per year of 9.99x12 ?
Thanks
MaxPlease contact Adobe Support to change the plan (if applicable)
You can also cancel this plan & buy a one time yearly CC for plan https://creative.adobe.com/plans/photography
Regards
Rajshree -
I am trying to pick out the right membership plan for us and the monthly plan and yearly plan allow a ceretain number of forms, however the membership materials do not clearly state how many hosted web response forms are allowed in each plan whether it is monthly or yearly? I need the answer before we decide
With the Basic plan you can have up to 5 online forms at any given time. There is no quota per month or per year. If you need to create a another form after your reached the quota then just delete one of the other form first. There is no quota for the Plus plan.
Same is true for the maximum responses. You can always export and delete responses to receive more if you have reached the maximum number of responses the plan allows.
Not that the Plus plan comes cheaper per month than the Basic plan but this is because you get a discount for commiting for the whole year.
Gen -
Variables for calendar year/month
Hi All,
My requirement is to create a headcount report which has to display the number of employees for different time period. ´
1) When user chooses calender day then the report should display total number of employees on that time period(01.01.2005)-(10.01.2009).
2) If user chooses calyear /month then he should see the report for each calyear/month (like 01.2005 , 02.2005,02,2005....)in the columns.
I tried dropping calyear/month in column and i got the result for my second scenario (like 01.2005 , 02.2005,02,2005....)
But when the user chooses the calday it still shows the report by calmonth (bcoz of calyear/month in the column).
I also tried text variable for calyear/moth(replacement path method) but i have the restriction in the interval (from date or to date - i have to choose one by default) so it shows only either date in the columns .
The two variables. 1) Calender Day (Interval,Optional)) 2) Calender Year /Month (Interval,Optional)
I got four restricted key figure to restrict number of employees by business.
Eg :
When Cal Day is choosed then the report will be :(01.01.2005 -10.01.2009)
(01.01.2005 - 10.01.2009)
Country Sales Finance
India 20 30
Denmark 30 50
When Calyear / Month is choosed then the report will be : (01.2005 - 02-2005) :
01.2005 02.2005
Country Sales Finance Sales Finance
India 24 70 70 45
Denmark 36 60 56 30
Regards
A.Vasister
Edited by: vasister a on Oct 9, 2009 11:10 AMHello,
This cannot be achived dynamically.
I think the two ways you can work out is creating two different reports one to include daywise and the other to include montwise structure.
Otherwise you can keep calday in free char and ask user to swap calmonth with calday as per requirement.
Else you have to create a workbook report and make use of VB macros to calculate report dynamically which is a very complex approach.
Regards,
Shashank -
How to calculate revenue vs taget in obiee11g (running every day)
hallo masters,
i have problem,
i have target in 1 year (january until dec) e.g 1000
and then there is revenue every day that calculate until reach 1 year
how can i calculate revenue vs target current day (i only have 1 year target, not target daily or monthly)
and how i can calculate persentage of revenue based on target
revenue 1jan2013 until 25march2013 | target 1jan2013 until 25march2013 | %target | % revenue base on target
and i need to know if % revenue less than target, then mark red
and that calculate every year (runnig revenue and running target)
please help mee
Edited by: xavier_obieenewbie on Mar 25, 2013 2:35 AMwhether this KPI can change every day base on target and revenue?
because we need running target, it means that target every day increase
target 1jan2012: target 1 year /356
target upto 2jan2012: (target 1 year /356)*2
target upto 3jan2012: (target 1 year /356)*3
target upto 4jan2012: (target 1 year /356)*4
...etc
revenue 1jan2012: a1
revenue upto 2jan2012: a1+a2
revenue upto 3jan2012: a1+a2+a3
revenue upto 4jan2012: a1+a2+a3+a4
...etc
e.g. this day is 4jan2012
so we want to compare revenue upto 4jan2012 vs target upto 4jan2012
whether revenue more than or less tahn target,
its running every day -
How could I pay for iCloud storage per year at once
i want to pay for my Icloud storage per year but not per month.
THat at way it's hassle free for me and less number of tiny transactions on my account.
Thank u.That's not possible as far as I can find.
-
Crystal report formulas to view revenue for current & Previous Year
Hi all,
We have a requirement to create a formula in crystal reports to display the current month revenue and previous month revenue along with few dimensions and also current fiscal year revenue and previous year.
For ex on SAp ecc table CE11000.
Please provide the syntax for above requirement.
Quick response is appreciated.
Thanks.
DJHI AlunJD,
Thanks for your quick turnaround.
Here's the structure of table i have fields like Currency type,Document Number,Fiscal year , Company code,country, Countrygrp,Document type, Sales quantity & Revenue.
My requirement is to display Revenue for current Fiscal Year and Previous Fiscal year and aswell as Current Month And previous month in the same report.
Is there any functions to create a formula to display data on above mentioned logic.
Thanks.
DJ. -
How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008
Hi Friends,
I need to calculate Difference and Percentage In matrix report SSRS 2008
1) Row grouping based On Product
2) Column Grouping Week and Fiscal Year Current week and Previous Year same Weeks
3)Data Invnetory(Value fileld)
Example:
If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
For example If Particular week,Current year data is available,Previous year week data is not available No
need to cal Diff and Percentage we need to show Empty.
Below Code is working for If two values is available.
If any one of the fiscal year week data is not there it's taking some garbage values.
I tries with If condition in GetPCT() and GetDiff() It's not working.
Can some one please help me on this.
I am using the custom code
Public Shared Value1 as String
Public Shared Value2 as String
Public Shared previous as string
Public Shared previousweek as string
Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
If partner =previous and Week =previousweek Then
Value2=Value
Else
previous=partner
previousweek=Week
Value1=Value
End If
return Value
End Function
Public Shared Function GetDiff()
return Value2-Value1
End Function
Public Shared Function GetPct()
return (Value2-Value1)/Value1
End Function
How to handle this.
Thank You, Manasa.VHi veerapaneni,
According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
1. Create a table like below.
create table dif4
([Product Group] varchar(50),
[Week] varchar(50),
[Fiscalyearweek] varchar(50),
value int
insert into dif4 values
('Desktops','W01','FY14W01',0),
('Desktops','W01','FY15W01',45),
('Desktops','W02','FY14W02',null),
('Desktops','W02','FY15W02',30),
('Desktops','W03','FY14W03',12),
('Desktops','W03','FY15W03',50),
('Notebooks','W01','FY14W01',35),
('Notebooks','W01','FY15W01',56),
('Notebooks','W02','FY14W02',45),
('Notebooks','W02','FY15W02',87),
('Notebooks','W03','FY14W03',75),
('Notebooks','W03','FY15W03',105),
('Tablets','W01','FY14W01',34),
('Tablets','W01','FY15W01',46),
('Tablets','W02','FY14W02',49),
('Tablets','W02','FY15W02',96),
('Tablets','W03','FY14W03',42),
('Tablets','W03','FY15W03',113)
2. Add the custom code in the Report Properties.
Public Shared Value1 as Integer
Public Shared Value2 as Integer
Public Shared previous as string
Public Shared previousweek as string
Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
If Value=Nothing Then
Value=0
End If
If product =previous and Week =previousweek Then
Value2=Value
Else
previous=product
previousweek=Week
Value1=Value
End If
return Value
End Function
Public Shared Function GetPct()
If Value1=0 Then
return 0
Else
return (Value2-Value1)/Value1
End If
End Function
Public Shared Function GetDiff()
return Value2-Value1
End Function
3. Design the matrix like below.
4. Then get the expected results.<o:p></o:p>
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to set current year,month as default value in combo box
hi, im newbie of xcelsius user
i realize that hv a issue that display combo box base on year & month
let said
<b><u>step 1</u></b>
I create excel data like this
<b><u>year___ </u> </b> | <u><b>month_ </b></u> | <u><b>Product</b></u> | <u><b>revenue</b></u>
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
<u><b>Step2</b></u>
Then i go format cell to format/custom date to year & month
Eg1: Year u2013> 02-04-09 convert to u2018YYYYu2019 (2009)
Eg2: Month u2013> 02-04-09 convert to u2018mmmmu2019 (April)
So output like this
<u><b>year</b></u> | <u><b>month</b></u> | <u><b>Product</b></u> | <u><b>revenue </b></u>
2009 | April | a | $4,154
2009 | April | b | $6,813
2009 | May | a | $9,875
2009 | June | b | $6,813
2010 | April | a | $6,813
2010 | April | b | $9,875
2010 | June | a | $9,875
2010 | June | b | $6,813
But the problem is when i insert to combo box,use u201Cfilter Row u201D, i excpectation will display only 2009,2010
But Actual display the Year in combo box is duplicated :'(
so any solution ? and then only how to set current year & month as default value :'(
thanks,
regards
s1
Edited by: Leong Pui Kee on Feb 25, 2011 5:25 AM
Edited by: Leong Pui Kee on Feb 25, 2011 5:36 AMhi,
your created data
step 1
I create excel data like this
year___ | month_ | Product | revenue
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
In this, year and month both are same data, make the diffent data like year 2009, 2010 And month Jan, Feb, March, ...Etc
and also one more check you formulas on month and year, select correct source data, destination data for compoonent..
OR
from above, to create a date column and convert date-->year, date--> month and Explore it.
All the best,
Praveen -
Does UK hosting with Business Catalyst include VAT? Can it be paid for per year?
I have been using Adobe Muse for about a year - LOVE IT! I'm starting to get professional business's as clients who obviously want quotes for their websites and hosting. I would like to stick with Business Catalyst for hosting...their online help support (chat) is just fantastic.
Anyhoo, there is no effective price structure for this. It is all in US Dollas which is taking me a bloomin decade to convert. And, do the prices include VAT? It doesn't say anywhere. Can the plans be paid for annualy? It seems very unhelpful on the Adobe website.
Also, please tell me if I am misunderstanding...Adobe can bill the clients for the hosting. Which is great. But obviously I am a business and put my percentage on top. So how would that work?
Its a long ol' curve to learning something 100%..any help or advice here would be much appeciated. Thanks.Hi,
BC only bills in US or AU dollars at this stage. You might want to reference the partner help guides under "Account & Billing" to see how billing your clients and custom pricing works within BC. - http://www.businesscatalyst.com/support/partner-help
There's two billing frequency options (monthly or annually). Furthermore if needing more assistance with account related questions I would recommend reaching out to the account team to help answer all your remaining questions to be 100% certain before moving forward.
- http://helpx.adobe.com/contact/index.html (Select Business Catayst and proceed)
Kind regards,
-Sidney
Maybe you are looking for
-
HP UT LEDM driver stopped working
I got this error message after my printer wouldn't work (HP Laserjet P1102w). What do I do to get my printer working again? I rebooted, unplugged the printer and plugged it back in again... nothing seems to be working. Stopped/started print spooler,
-
Transferring a movie from my Laptop to Apple TV
I have some .mp4 movies I want to tranfer from my PC to Apple TV. Whats the best way to do this? Could i use a memory stick? Thanks for any advice.
-
What is the best video format to use with Dreamweaver CS5.5
My client has asked what format to convert their video to before sending it to me to be placed on their homepage. I'm using DreamWeaver CS5.5 with an HTML5 template - trying to steer clear of Flash for this new site. On other sites, I embed videos fr
-
Flash site not showing in Internet Explorer
Please can some one help, I have been asked to get a website up and running. It is a Flash site, which works fine in Firefox and Safari, but its just a white screen in IE. Does anyone know why? the website is www.vortex-cae.co.uk and the scrip is :
-
Bluetooth Headphones in Garageband Lag
When I try to record guitar in garageband through my Beats Studio Wireless headphones there is a noticable lag in the audio output. I was wandering if there is any solution to this because it would be nice to be able to use them with no cable to get