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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Created a nested filter

I have a slicer where I select a product brand and I want the category it's in to show automatically but I haven't been able to figure it out.  Both pieces of data are in the same table.  

 

testMeasure = LOOKUPVALUE(LinkToBrand[Product Category (Dynamic) L2],LinkToBrand[Brand],SELECTEDVALUE(LinkToBrand[Brand]))

 

This formula works but I obviously can't use this in a slicer.  Any ideas?  

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

No. Slicer in Power BI doesn't support to automatically select any item from the drop down list, even though there is only one item. Users have to choose values manually.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

10 REPLIES 10
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Since both pieces of data are in the same table, there is no need to create any measure to return corresponding category values. Based on Visualization Interactions, when you select an item in first slicer, the second one will be automatically filtered, returning corresponding categories.

1.PNG2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Capture.JPG

 

Maybe this image will help - if I select the top filter it will not automatically select the next filter - it still has to be clicked (it will stay on 'All' - when I click it on it, yes there is only one option but the point is having to click.  I just want it to auto select... 

Hi @Anonymous,

 

No. Slicer in Power BI doesn't support to automatically select any item from the drop down list, even though there is only one item. Users have to choose values manually.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

this is a basic function in excel - they should really support this somehow.

Anonymous
Not applicable

Capture.JPG

Stachu
Community Champion
Community Champion

even though the slicer says All in that the category is actully crossfiltered to Cheese. Why do you also need explicit filter on that field?
if it just about clarity for the user then you could create a card displaying currently selected categories etc. with a measure, similar to what @Greg_Deckler suggested



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Anonymous
Not applicable

No, because unless the user clicks on cheese then the graphs below and tables don't display correctly.  They either don't show or show whatever category the previous brand was. 

Anonymous
Not applicable

none of these suggestions work I'm afraid.  If anyone wants the file by PM let me know and you will instantly see what I mean. 

Greg_Deckler
Community Champion
Community Champion

You should just have to get the MAX of the category. If you are using a slicer to filter to a particular product brand then there should be only 1 category so any aggregation that returns a text value (like MAX) should work.

 

Then just display that measure in a card visualization.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

But the second slicer is required as it dissects a table. I can already get a card visualization using my formula. What I need is the user selects the brand and then the second slicer auto populates. This then still works on the tables. A card visualization cannot be used to slice a table as I understand. If it helps I can post image tomorrow from work. But this suggestion doesn't work I'm afraid.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.