Forum Discussion

AdamGarcia_SCTA's avatar
AdamGarcia_SCTA
Frequent Visitor
2 years ago
Solved

Difference Value in same column between years

Hello, I'd like help and/or recommendations for adding a new indicator Card for a greenhouse gas dashboard that calculates the difference of GHG emissions between two years. All the emissions data i...
  • lbendlin's avatar
    2 years ago

    you had that as a calculated column, but you need a measure

     

     

    Dif 1990 to 2020 = SUMX(FILTER(ALL(Activity), Activity[Year]=1990), [Metric Tons of Carbon Dioxide Equivalent]) - SUMX(FILTER(ALL(Activity), Activity[Year]=2020), [Metric Tons of Carbon Dioxide Equivalent])