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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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