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

Deselect a slicer based on hierarchical parent

Hi all, this may be a very simple solution but I haven't been able to find anything by searching. I have relatively simple hierarchical data such as:

District A contains schools B and C

District D contains schools E and F

 

 

There is a one-to-many relationship between districts and schools, which is also enforced in the underlying data. I have tried several approachs to creating dropdown slicers, but the problem I always run into is this:

1. I select district A. Visuals are updated with district A sums.

2. I select school B. Visuals are updated with school B sums.

3. I open the first dropdown and select district D (which unselects district A because single select is on). School B is still selected in the 2nd dropdown, so no results are shown. The behavior I would like to see is that school B is deselected and the visuals update with District D sums.

4. If I then open the 2nd dropdown and deselect School B, it disappears from the select list - so the referential integrity enforced by the relationships is working, but not until the user deliberately interacts with the slicer.

 

So what I am looking to do is to deselect or reset the 2nd dropdown whenever the selection in the first one is changed. In other words, when I change the selected district, clear out the school dropdown. I realize I can use a bookmark to clear out all selections but what I would really like to see is the hierarchy enforced automatically when a selection is changed.

 

Any insight on how I might go about doing this?

 

TIA,

Will

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

I'm afraid the built-in slicer doesn't have this feature, as a workaround, you may use hierarchy slicer instead.

HierarchySlicerUsage.gif 

 

Reference: https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820?tab=Overview.

 

Community Support Team _ Jimmy Tao

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

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

I'm afraid the built-in slicer doesn't have this feature, as a workaround, you may use hierarchy slicer instead.

HierarchySlicerUsage.gif 

 

Reference: https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820?tab=Overview.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the 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.