Forum Discussion

WimBi's avatar
WimBi
Frequent Visitor
4 years ago
Solved

Performance DAX measure

Hi!   I have a question about how i can increase the time my measure takes to calculate. This measure calculates the difference of the revenue ("Omzet" in Dutch) of this year with last year....
  • PurpleGate's avatar
    4 years ago

    I have used this measure in the past to calculate what you want. It works really fast with many rows.

     

    YearOnYear = ((TOTALYTD([Revenue],'Date'[Date]))-(TOTALYTD([Revenue],SAMEPERIODLASTYEAR('Date'[Date]))))