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') ) )
Phil_Seamark
9 years agoMicrosoft Employee
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')
)
)