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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Button to work as a slicer for multiple filters

I am looking to create something like a card visualization that works as a slicer.

 
 

I need the slicer to filter a table on a couple of different fields. (i.e. where value is "12", "13", and "14" from column "Amount", and where value is "Chicago" from column "City"). If there is a way to create a button that will run a SQL Query that would work as well on the table, that would work as well.

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hello,

 

Have you tried using bookmarks? - https://docs.microsoft.com/en-us/power-bi/desktop-bookmarks





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

"I need the slicer to filter a table on a couple of different fields."

Is it similar to this effect?Filter multiple fields?

dd1.PNG

According to your description, your fields are in a table. When you filter one field, the other fields will also be filtered, so my guess is that you need a hierarchical filter for more precise filtering, is right?

If yes, you can get a hierarchical filter in the marketPlace.

dd2.PNG

 

If not, please show the visual effects you want to get, because I don’t quite understand your needs.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thank you for the insight! I actually ended up going the bookmark route, but the hierarchical filters is very helpful. 

 

I had no idea about that and will definitely be using that in the future. Thank you!

danextian
Super User
Super User

Hello,

 

Have you tried using bookmarks? - https://docs.microsoft.com/en-us/power-bi/desktop-bookmarks





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Thank you! What I ended up doing was creating bookmarks that will add all the filters I needed to a table visualization. I then created buttons with an action tied to that bookmark. I made the button transparent, overlayed it on my card visualization, and grouped the button and card so I can move and resize it as one object. I also added a button with the "go back" style that will go to a bookmark of the original view, essentially acting as a reset button.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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