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
Tuan
Helper III
Helper III

Slicer with - Year to date, quarter to date, month to date

Is it possible to create a slicer that will switch between columns on a dimension table such as dimDate.

 

For example:

 

YTD will use the YTD column

QTD will use the QTD column

MTD will use the MTD column

 

I'm trying to put this all on one slicer so it will filter my entire dataset.

image.png

 

Would it be a combination of using selectedvalue and switch?

 

2 REPLIES 2
Tuan
Helper III
Helper III

Trying to see if there another way beside creating multiple measures. I already have a toggle between Dollars and Cases which will compound the amount of measures I need. 

VasTg
Memorable Member
Memorable Member

@Tuan 

 

Please refer to this post.

 

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

If this helps, Mark it as a solution.

Connect on LinkedIn

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.