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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.