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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.