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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors