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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
qwk
Helper I
Helper I

Dynamic Hierarchy Level

Hi

I have a matrix having a 7 level hierarchy, e.g. Product, product category, product brand, customer, customer category, customer subcategory & salesrep. I would like to display to the users the available hierarchies and would also like to give the user the option of dynamically switching from level 1 to level 4, level 4 to level 7 and so on. Currently I am using bookmarks to solve this but it s rather is frustrating to repeat in all the reports apart from the fact that you loose all the column sorting. I am sure most of the Power BI users community came across this hurdle and would be good to have this simple feature out of the box.

Is there some kind of workaround using DAX or some other simple way ?

Thanks

2 REPLIES 2
v-xulin-mstf
Community Support
Community Support

Hi @qwk,

 

Maybe you can use bookmarks to meet you need.

You can filter the required fields and bookmarks correspondingly.

Please refer: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks

 

Best Regards,

Link

amitchandak
Super User
Super User

@qwk , There is an option n case of direct query. Maybe you need bring one column values from direct query and try that - https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.