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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Cascading slicers

Hi everyone

I have my database on a single table, and I want to filter some value according to 2 levels (Lv1 and Lv2, let's say Factory and Sector).

What I want to do is something like this: first, select Factory, and the select Sector from a list that only contains the sectors on the factory already selected (that is, Sector has to be filtered by Factory).

I kind of made it, by making Factory filter sector, but not the other way around. The problem is this: when I have a Factory and Sector already selected, and change Factory (Lv1), the selection on Sector (Lv2) remains, and most of the time shows blanks (because that Sector previously selected does not exist on that Factory).

Is there a way to make the previous Sector selected, unselect?

 

I noticed I can make something similar by creating a unique slicer that contains both categories (Factory and Sector), and giving them the proper hierarchy, but the way the dropdown list presents it's not so friendly. Is there a way to make this list better, and more practical?

 

Thanks in advance

José

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

Sorry I didn't quite understand the problem you are facing.

In my understanding, you have factory and sector columns.

vkalyjmsft_0-1646807876027.png

When you select Factory A in the factory slicer, the sector slicer wil show S1, S2, S3, then if you select S1 in the sector slicer, now because there's no S1 in the factory B, so factory slicer does not allow you to choose factory B. 

vkalyjmsft_0-1646809861494.png

Could you please explain more about your sample and problem?

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , I doubt that

refer, if needed

https://www.youtube.com/watch?v=1yv5srlqgmI

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.