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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors