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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
BSM1985
Helper IV
Helper IV

Dynamic Buttons

Hello Team,

 

As per requirement, I would need to have the slicers in the form of buttons as shown in below screenshot.


Case 1: Choose Year 2015 from slicer -->click on Month button then it should all months in 2015 year in the form of buttons. Please refer below screenshot. Then if users click on Month lets say June then the graph should be plotted for June Month.

 

Case 2: Choose Year 2015 from slicer -->click on Quarter button then it should all Quarters in 2015 year in the form of buttons. Please refer below screenshot. Then if users click on Quarter lets say Q2 then the graph should be plotted for Q2 Quarter.

 

Case 3: Click on Year button then it should all years in the form of buttons. Please refer below screenshot. Then if users click on Year lets say 2015 then the graph should be plotted for 2015.

 

.pbix file here
https://1drv.ms/u/s!ArRkjWtfVLy-bcQVKOgszO1vXds


screenshots here

Tabs2File.png

1 ACCEPTED SOLUTION

@BSM1985 Something like: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-EVERYTHING-measures-axis-legend-titl...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Sumanth_23
Memorable Member
Memorable Member

hi @BSM1985 - you can do this using bookmarks; see screen grabs below for the way to implemetn

 

Sumanth_23_0-1600194002683.png

 

 

Sumanth_23_1-1600194026093.png

 

Sumanth_23_2-1600194041900.png

Havent used github too much but let me know if you can access the PBI file in path below: https://github.com/Sumanth23/PBI_Files

 

Please mark the post as a solution and provide a 👍 if my comment helped with solving your issue. Thanks!

 

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

Proud to be a Super User!



Thanks @Sumanth_23 @DataZoe  @Greg_Deckler  for taking time to look into this.

 

Is there anyway we can achieve this with help of static table (Enter Data). Becasue users have suggested us to avoid bookmarks for this kind of scenarios for their own reasons. Can you please advice..if this is possible.

 

 

@BSM1985 Something like: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-EVERYTHING-measures-axis-legend-titl...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks a lor @Greg_Deckler . I will modify the code as per my requirement. This will guide me how to do so.

DataZoe
Microsoft Employee
Microsoft Employee

@BSM1985 I think the trick here would be bookmarks:

 

DataZoe_0-1600192357433.png

 

I've modified your file and uploaded it here: https://github.com/DataZoe/PBIX/blob/master/Tabs2-working.pbix 

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Greg_Deckler
Community Champion
Community Champion

@BSM1985 I can think of a couple options.

1. Buttons and Bookmarks

2. Something like: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-EVERYTHING-measures-axis-legend-titl...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors