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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to show 'Expand all down one level in the hierarchy' when a user changes the filter?

I was trying to show a chart as default as "Expand all down one level in the hierarchy", like this:

userph_0-1717490956605.png

But when I change the selection of the slicer from Meses(months) to Semanas(Weeks) the chart also changes to "stack" view:

userph_1-1717491022092.png

What I did to be able to display this content(the slicer Months/Weeks as a dynamic slicer depending on the selection of the previous slicer) is to create a New parameter in the Modeling section and I included two columns from different tables.

After I created a measure to decide what to show on the column, the headcount by months or by weeks:

 

 

Selected HeadCount = IF ( SELECTEDVALUE (Slicer[Slicer Orden] ) = 0, [HEADCOUNT PM], [Headcount PW])

 

 

Anyone knows how to "fix" the "Expand all down one level in the hierarchy" option?

 

Thanks,

 

Hint: Maybe the error is related that while I'm changing from week selection to month selection it displays all the months for 0.5 second, like this:

userph_2-1717492302839.png

But after this 0.5s it turns to stack version again:

userph_3-1717492349609.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

This is due to the limitation of the field parameters. Refer to the documentation, when a Field Parameter is used to swap fields in a Visual, the Visual will drop some related information like Sort direction and Drill/Expand state.

 

Best Regards,

Neeko Tang

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
Anonymous
Not applicable

Hi @Anonymous ,

 

This is due to the limitation of the field parameters. Refer to the documentation, when a Field Parameter is used to swap fields in a Visual, the Visual will drop some related information like Sort direction and Drill/Expand state.

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors