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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
singhal14
Helper I
Helper I

Dynamic Bench marking in Line and Stacked Column Chart

Hello Everyone,

 

I am trying a Scenario where I need to add many Slicer Visuals to compare other visulas accordingly.

 

Problem is I need to follow a filter Hierarchy, something like  "a->b->c->d->e".  I am not allowed to select random filter but user can do it any way so one question would be-

 

How to tell Power BI this Hierarchy solution using Dax ?

 

The second thing is I need the answer till second last filter like if user selects "a->b->e" / "b->a->e" then the answer will be shown till the "a->b".

 

Hope you get the problem, this could be a tricky thing in Power BI to do.

If you need any clarification on this problem, please let me know.

 

Since I know DAX is a very powerful in purpose to solve this type of Scenario but I am new to Power BI and don't know lots of DAX functions, so any help would be useful.

 

Thanks,

Akash 

 

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @singhal14,

 

In this scenario, I would suggest you to use the HierarchySlicer custom visual instead of using Dax. With the hierarchy slicer it is possible to represent a hierarchy as a single slicer. The different levels are shown as a tree.

 

hs.PNG

 

Regards

Hi @v-ljerr-msft,

 

Thanks for reaching out.

 

We thought about this approach before but the problem is in our data, the no. of unique values are very high. So it is not very likely to use Hierarchy Slicer here.

 

Also this approach does not solve the second part of the problem mentioned in the Question.

 

If you have any other approach, please let us know.

 

Thanks,

Akash

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors