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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.