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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Dynamically choose columns values based on slicer

I have a dataset below in my report.

Screenshot 2022-12-23 175755.pngScreenshot 2022-12-23 175727.png

 

My report is like below...

Screenshot 2022-12-23 175838.png

I want to have a filter in slicer with the values "Include" or "Exclude" so that when we ticked the Include filter table should be include all data without any filter. Otherwise (if it's ticked "Exclude") table shows data by filterout Category value="Group3". ie,Not include Category value="Group3" in the visual.Is it possible to do in Power BI?

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

I think using the bookmark feature will be better. Create report bookmarks in Power BI to share insights and build stories - Power BI

Filter the category values on the table visual and add a bookmark. Clear the filters and add another bookmark. 

vjingzhang_1-1672043323615.png

Insert two buttons into the report, turn on their action and set their action type to bookmark. 

vjingzhang_0-1672043316600.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

I think using the bookmark feature will be better. Create report bookmarks in Power BI to share insights and build stories - Power BI

Filter the category values on the table visual and add a bookmark. Clear the filters and add another bookmark. 

vjingzhang_1-1672043323615.png

Insert two buttons into the report, turn on their action and set their action type to bookmark. 

vjingzhang_0-1672043316600.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!

Mahesh0016
Super User
Super User

@Anonymous https://youtu.be/elnY9LtuhMU

 

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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