IniziaInizia gratis

Use of SAMEPERIODLASTYEAR()

Another very common time intelligence calculation is the year-over-year (YoY) calculation, where a certain measure (e.g. sales) is compared between this year and the previous year. A first step to calculate the YoY of a measure, is to calculate the value of that same measure exactly one year ago. This is where the SAMEPERIODLASTYEAR() function comes into play.

If you have lost any progress, close any open reports and load 4_2_sameperiodlastyear.pbix from the Exercises folder on the desktop.

Questo esercizio fa parte del corso

Intermediate DAX in Power BI

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio