Forum Discussion
Still_learning
5 years agoFrequent Visitor
Correctly aggregate in matrix
Hi everyone, I have been trying this for a while now and would really appreciate your help. I am trying to calculate the effect of price increases for individual items per sales organization...
- Anonymous5 years ago
HI Still_learning,
It sounds like a common measure total level calculated issue of multiple aggregations, you can take a look at Greg's blog if it suitable for your scenario:
Measure Totals, The Final WordRegards,
Xiaoxin Sheng
amitchandak
Super User
5 years agoStill_learning , try a measure like example
sumx(values(Table[sales org]), calculate(if( [Sales Price 21]> 0 && [Sales Price 19] >0,[Sales Price 21] -[Sales Price 19], blank())))
- Still_learning5 years agoFrequent Visitor
amitchandak , thx for your help.
Unfortunately your measure does have the same result as my previous attempt.P.S. I forgot to multiply the pricing difference with the quantity in my earlier screenshot so I changed that one