Forum Discussion

fab's avatar
fab
Helper I
8 years ago

Automatic Analyse Period compare to Reference Period

Hi,

 

In my PBIX report, I would like to have an Analyse Period (slicer from date to date) and a reference Period which is the same period but for Year-1 or Year-2 or Year-3...

 

I would like my indicator calculated for the Analyse Period and compare to Reference Period.

How can I do that ?

 

I found this exemple: https://www.sqlbi.com/articles/filtering-and-comparing-different-time-periods-with-power-bi 

It's exactly what I want but not for the Reference Period, I don't want a "from to slicer" but just a list with Year-1, Year-2... 

 

 

Is it possible to set default value (Analyse Period = last month and Reference Period = Year-1) ?

 

 

Fabrice

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    fab,

    Instead of selecting data range in the date slicers, you can use Relative option in date slicer and choose last 1 month, last 2 year, last 2 years and so on.



    Regards,
    Lydia