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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.

June 2025 community update carousel

Fabric Community Update - June 2025

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