Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
I try to create a bar chart to calculate revenue percentage for each group.The Dimension is Division.
Current Month:
=sum ( {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])
YTD:
=sum ( {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {"<=$(#=Only(_Month))"}, Division= >} [Revenue])
Is there a way to let the set analysis calculate the total for all Division on this bar chart?
Thank you very much in advance!
Try selecting relative option on the expression tab.
or
this may be:
=Sum({$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])/Sum(TOTAL {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])
Add another bar for TOTAL? Is that what you are looking for?
Thank you - Sunny,
I need a bar chart show (Revenue by Division)/ (Total Revenue of all the Division)
Thanks.
Try selecting relative option on the expression tab.
or
this may be:
=Sum({$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])/Sum(TOTAL {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])
Maybe using TOTAL qualifier:
Current Month:
=sum ( {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])
/
sum (TOTAL {$<[FiscalYear] = {$(#=Only(_Year))}, [FiscalMonth] = {'$(#=Only(_Month))'}, Division= >} [Revenue])
Thank you very much - Sunny and swuel.
Works perfect.
You guys are great!
You have great day!