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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
sagittarius_111
Frequent Visitor

Slicer

We have two slicers, one of which is field parameter containing values like age, race, gender, brand, sub brand. Second slicer is Sub Brand slicer having values for different sub brands. The ask is like, if user selects any Sub Brand value from second slicer, then from field parameter i.e First Slicer should not show Sub Brand as an option for selection. How we can achieve this. Expecting experienced folks to give guidance. Thank you in advance
1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @sagittarius_111 

 

Create a measure that check whether Sub Brand isfiltered and if the Parameter Order is equal to that of Sub Brand in the parameters table.

Hide Product =
IF (
    ISFILTERED ( financials[Product] )
        && SELECTEDVALUE ( Parameter[Parameter Order] ) = 3,
    0,
    1
)

danextian_0-1737983679855.png

Use this measure as a visual filter.

danextian_1-1737983739928.png

danextian_2-1737983754184.png

danextian_3-1737983784341.png

 

 

 





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

6 REPLIES 6
sagittarius_111
Frequent Visitor

Thanks for helping out, I will try your approach

sagittarius_111
Frequent Visitor

Hi @danextian, we implemented it in our file and it is working, however there is some change in requirement we need to make Sub brand slicer as single select with All as a selection which we have implemented. We implemented this by making Sub brand all column and appending existing values once again and input "All" in table front of it, now we want to implement it for this use case. Can you suggest any solution for this? Let me know if any clarification is required.

sagittarius_111
Frequent Visitor

Thank you for this wonderful explaination.

danextian
Super User
Super User

Hi @sagittarius_111 

 

Create a measure that check whether Sub Brand isfiltered and if the Parameter Order is equal to that of Sub Brand in the parameters table.

Hide Product =
IF (
    ISFILTERED ( financials[Product] )
        && SELECTEDVALUE ( Parameter[Parameter Order] ) = 3,
    0,
    1
)

danextian_0-1737983679855.png

Use this measure as a visual filter.

danextian_1-1737983739928.png

danextian_2-1737983754184.png

danextian_3-1737983784341.png

 

 

 





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.

Hi @danextian, we implemented it in our file and it is working, however there is some change in requirement we need to make Sub brand slicer as single select with All as a selection which we have implemented. We implemented this by making Sub brand all column and appending existing values once again and input "All" in table front of it, now we want to implement it for this use case. Can you suggest any solution for this? Let me know if any clarification is required.

So it is true that, with each day, out of this world requirements just appear out of thin air. lol.

 

You will need to create  a table that has all the products and the word all and connect that to the fact table.

danextian_0-1738160566178.png

Naturally, All doesn't exist in product column so you will need to create a measure to show the aggregate for all and all the products if all is selected from the slicer.

danextian_1-1738160652770.png

You will  the need to modify the field parameter visual filter measure.

danextian_2-1738160711562.png

Please see the attached sample pbix.





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.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.