Forum Discussion
Different formula in total row
- 3 years ago
Hi Anonymous
please try
GM pct total =
SUMX (
SUMMARIZE (
Sales,
Geography[ContinentName],
Product[ProductName],
'Date'[Year]
),
[GM pct]
)
Hi Anonymous
Please use
GM pct total =
SUMX ( VALUES ( Geography[ContinentName] ), [GM pct] )- Anonymous3 years agoNot applicable
Hi tamerj1
Thanks *SO* much for your reply, that worked perfectly!
Unfortunately I now have a more complicated version of the same puzzle.
Your formula is in the blue cells, and gives exactly what I wanted.
But I now need a second calculation with a different formula, for the red column.
The calculation I have so far is this one:
I am getting the right results in cells A, B, C — summing up the values at Product.Category level. So, for example, cell B is the sum of the calculations for all the Categories within Europe. That’s what I need.
But in the Grand Total row I also need a sum of A+B+C, which here should be 10.3438.
I can’t get my head around what I would need for that …
Huge thanks again for any help 😀
- tamerj13 years ago
Community Champion
Hi Anonymous
please try
GM pct total =
SUMX (
SUMMARIZE (
Sales,
Geography[ContinentName],
Product[ProductName],
'Date'[Year]
),
[GM pct]
)- Anonymous3 years agoNot applicable
I'm speechless. Thank you so much 😀.
(I took out the last dimension from the SUMMARIZE to make it exactly what I needed, but I can probably use your formula as well anyway!)