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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Create interactive slicer

Hello, I'm new to PowerBI and wasn't quite sure what to look for when looking for a solution to this problem. So feel free to point me in the right direction in case this question has already been answered before.

 

Lets take some sample data to illustrate my question:

ProductCategory

1

Cat.A
2Cat.A
3Cat.A
4Cat.B
5Cat.B
6Cat.B

 

Given this, I want to have two slicers at the top of my dashboard. One to select whether a user wishes to filter on specific products or categories. And the second one to actually make the selection. The items in the second slicer should change based on the selection made in the first slicer.

 

Thank you!

2 REPLIES 2
Anonymous
Not applicable

Hello @SSchepers ,

In my test, you need to create two other tables for slicers, then use the following formula:

Measure =
SWITCH (
    SELECTEDVALUE ( 'Slicer options'[Wish to filter?] ),
    "Yes", IF ( MAX ( 'Table'[Product] ) IN ALLSELECTED ( 'forSlicer'[Product] ), 1 ),
    "No", 1
)

After applying the measurement to the filter panel (set "is 1"), My display looks like this:
10.29.5.1.gif

Here's the pbix file.

Have I answered your question? Please mark my answer as a solution. Thanks a lot.
If not, load some insensitive data samples and expected output.

Best regards
Eyelyn Qin

amitchandak
Super User
Super User

@Anonymous , there can be few ways to get that. See bookmark and button can help

https://www.youtube.com/watch?v=z9jdkyyE3WU

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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