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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Buttons as slicers

Hi,

 

I would like to have a button on my report that when pressed a specific matrix filters to MTD results and then when pressed a second time it undoes the MTD filter and shows all results for all dates. Also ideally the button should say "MTD" when pressing it to get MTD results and say "All" when pressed a second time to indicate the end user is now seeing all results

 

The first part of the above I have achieved by bookmarking a page whereby the matrix shows MTD results are shown and when pressing the button I see the MTD results. So is there a way to add a second action to this button to achieve the second part of above?

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my understanding,you could create 2 buttons,one is called "MTD" and another is "All",then relate them to certain bookmarks as you wish.

For details,you could refer to below vedio:

https://www.youtube.com/watch?v=0m-PCX1uCG4

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my understanding,you could create 2 buttons,one is called "MTD" and another is "All",then relate them to certain bookmarks as you wish.

For details,you could refer to below vedio:

https://www.youtube.com/watch?v=0m-PCX1uCG4

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

amitchandak
Super User
Super User

@Anonymous , I think the bookmark and button should able to help in this case.

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

If it just a measure then measure slicer can also help

https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://www.youtube.com/watch?v=vlnx7QUVYME

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.