Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
fab
Helper I
Helper I

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 1
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.

1.JPG2.JPG

Regards,
Lydia

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.