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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to make a barchart hierarchy follow slicer hieararchy power bi?

Hi! Just as the topic foretells i am having abit of a difficulty with combining my Slicer hierarchy with my bar chart hierarchy.

Both the slicer and the bar chart uses the same hieararchy so when i select a specific level on the slicer hieararchy i want the bar chart to show exactly what i selected on that specific hieararchy level.
It now shows the correct datavalue that i have selected altough only on the first level heararchy of the bar chart. Here is an example:

DanZloo_4-1664200356260.png

 

When i select "Solutions" in this example it shows the correct data but at the highest hieararchy level (Affärsområde). I want the bar chart hiearchy to also change level when another level is selected in the slicer hieararchy so it would look like this:

DanZloo_3-1664200276852.png

 

Any help on this issue would be much obliged!

Kind Regards

D.Z



3 REPLIES 3
Anonymous
Not applicable

@v-stephen-msft
In your example when i select the top lvl of your bar chart and select something from the slicer, the bar chart stays at the top lvl but shows the values selected from the slicer:

DanZloo_1-1664266137682.png

 

Anonymous
Not applicable

Hi @Anonymous ,

 

It works fine on my visual. You should try to put the same hierarchy from the slicer into the bar chart. I set up like this.

vstephenmsft_0-1664264204551.png

When A in level2 is selected,

vstephenmsft_1-1664264233976.png

 

When A and B in level2 are selectedd,

vstephenmsft_2-1664264256738.png

You could check more details from my attachment.

 

 

Best Regards,

Stephen Tao

 

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

Anonymous
Not applicable

Hi @Anonymous!
First of all, thank you for your reply!

Unfortunately that is not what i am looking for.

I have the exact same hiearachy in the slicer and the bar chart:

DanZloo_0-1664265397259.png


In your example the bar chart shows AAA and above that the underlying alternatives.
If i choose A i just want to show A on the bar chart. If i choose A and B i want to see only those to.

So the bar chart needs to be dynamic depending on the selections of the slicer hierarchy. But it does not change level if i select a value from the let say 5th level of the slicer hiearchy.

Kind Regards

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 Solution Authors