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
TheLearner1
Frequent Visitor

Hierarchy with slicer drilled down to lowest level

I have a table that contains a hierarchy and is controlled by a slicer. I want the hierarchy to be at the lowest level of detail by default. The challenge I'm facing is when I change the slicer selection, the hierarchy goes back to the highest level. How can I make it stay at the lowest level when the slicer selection get changed?

1 ACCEPTED SOLUTION
TheLearner1
Frequent Visitor

I figured it out! I changed the visual from Matrix to Table and the hierarchy drill down went away!

View solution in original post

5 REPLIES 5
TheLearner1
Frequent Visitor

I figured it out! I changed the visual from Matrix to Table and the hierarchy drill down went away!

Anonymous
Not applicable

Hi @TheLearner1 ,

I create a table as you mentioned.

vyilongmsft_0-1717556285851.png

Then I create a Measure and here is the DAX code.

Measure = 
SWITCH (
    TRUE (),
    ISFILTERED ( Table1[Level3] ), CONCATENATEX ( VALUES ( Table1[Level3] ), [Level3], "," ),
    ISFILTERED ( Table1[Level2] ), CONCATENATEX ( VALUES ( Table1[Level2] ), [Level2], "," ),
    ISFILTERED ( Table1[Level1] ), CONCATENATEX ( VALUES ( Table1[Level1] ), [Level1], "," )
)

Finally you will get what you want.

vyilongmsft_1-1717556693447.pngvyilongmsft_2-1717556716469.png

 

 

 

Best Regards

Yilong Zhou

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

This doesn't work. I think you misunderstood the question. I have a matrix visual that contains a hierarchy and the visual is controlled by a slicer. Everytime a different value is selected in the slicer, the visual goes back to the highest level. I want the visual to be drilled down to the lowest level by default as the users flip between the options in the slicer. 

lbendlin
Super User
Super User

Allow users to store their filter choices.

Users will want to switch between the different filter choices.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Users online (2,539)