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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BenWatt
Frequent Visitor

Dynamic Period slicer

I'm sure I've seen this, but can't track it down.

 

I'm looking to put a slicer on a report with options YTD, LastMonth, Last 3 months. I would like this to filter the date dimension according to the formula for each one. Is this possible?

 

as FYI, I've already got relative date logic in to flag each month as "Current Period", "Current Period -1", etc but users want a quicker way to swap between the common filter scenarios.

 

thanks

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @BenWatt,

 

You should be able to follow this excellent article which describes how to create Current Day, Week, Month And Year Reports In Power BI Using Bidirectional Cross-Filtering And M to get your expected result. Smiley Happy

 

Regards

View solution in original post

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @BenWatt,

 

You should be able to follow this excellent article which describes how to create Current Day, Week, Month And Year Reports In Power BI Using Bidirectional Cross-Filtering And M to get your expected result. Smiley Happy

 

Regards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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