Forum Discussion
sebbyp
8 years agoHelper III
Quick Measure Calculate difference from another row
Hi there, i am trying to use quick measure for the first time as i thought this functionality could help me out on this occasion. I have one dataset containing various economic indicator times serie...
- 8 years ago
Hi sebbyp,
Replace DIVIDE with your formula. For example.
Measure 5 = VAR US = CALCULATE ( SUM ( 'Table1'[Macro Trend Score] ), 'Table1'[Country] = "US" ) VAR EU = CALCULATE ( SUM ( Table1[Macro Trend Score] ), 'Table1'[Country] = "EU" ) RETURN US - EUBest Regards!
Dale
v-jiascu-msft
8 years agoMicrosoft Employee
Hi sebbyp,
Replace DIVIDE with your formula. For example.
Measure 5 =
VAR US =
CALCULATE ( SUM ( 'Table1'[Macro Trend Score] ), 'Table1'[Country] = "US" )
VAR EU =
CALCULATE ( SUM ( Table1[Macro Trend Score] ), 'Table1'[Country] = "EU" )
RETURN
US - EUBest Regards!
Dale
sebbyp
8 years agoHelper III
This calculation you help me with previously was really helpful and done the trick. I would like to try something slightly differently this time around and take the difference for a countrys economic reading compared with the previous date. How can this be achieved. THe data is organised in the same table we spoke about previously in this conversation.
- v-jiascu-msft8 years agoMicrosoft Employee