Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Every One,
Hope you are doing great. Can someone please help me in finding the logic for 100% stacked bar for below numerator expression.
Dimension Expressions:
Measure Expression:
Sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>}SALES)
Expected Result: I want the sum of all fruits to be 100% for each Year.
I tried the below expression but it is not giving the 100%.
Sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>}SALES)/ AGGR(sum(total <YEAR> SALES),YEAR,FRUITS)
Thanks,
-Vidya
May be -
Sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>}SALES)/ AGGR(sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>} total <YEAR> SALES),YEAR,FRUITS)
May be -
Sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>}SALES)/ AGGR(sum({<PLANSIZE={"More than $50"},CATEGORY={"No"}>} total <YEAR> SALES),YEAR,FRUITS)
Thanks, Vijay. Its really helpful.
-Vidya