Forum Discussion

Miguelcrz's avatar
Miguelcrz
Helper I
6 years ago
Solved

Comparing same periods from last year

Hi!

 

I would like to compare periods from last year in a graphic like this considering the day of the week so i compare Monday 2020 vs Monday 2019:

 

 

The lines of the graphic should be one over the other like if it was the same period.

 

Thanks!

  • Miguelcrz 

    if you have a calendar table, you can also try this

    create a meausre

    Last year = CALCULATE(sum('Table'[sales]),DATEADD('datetime'[Date],-1,YEAR))

    create a line chart

    add last year measure to filter and choose is not blank

     

     

3 Replies