Forum Discussion
aktripathi2506
9 years agoHelper IV
Calculating Measure
Hi, I have this following situation where I want to calculate = Sum of (product sale by group)/Sum of Total product in Group From this data, desired output is: = (599/2332) = 0.25 Thanks ...
- 9 years ago
This will give you the result you say you want, regardless of what/where you filter. Not sure if that is what you are after though
New Measure = DIVIDE( CALCULATE( SUM(Table1[Product sale by Group]), ALL('Table1') ) , CALCULATE( SUM(Table1[Total product in group]), ALL('Table1') ) )
DoubleJ
9 years agoSolution Supplier
Hi
Not sure if I got you right. The formula of your measure would be:
=DIVIDE(
SUM(product sale by group),
SUM(Total product in Group),
0)
Hope this helps
JJ