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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MYDATASTORY
Resolver I
Resolver I

Hierarchy Slicer Dax

 

Hi, 

Kindly advice, I have Three columns I want to create hierarchy slicer so that when I select Subject I will be able to see all the relationship on hierarchy column Subject for example; I have added Hierarchy relationship for a reference purpose to show how the data flow on slicer perspective on the Subject column.

  •  First 3 digit of code shows Parent relationship with subject i.e. 400=History, the second Part shows the child relationship 400-10= History Year 7 
  • Question /help request:
  • if I select History, I would like to see |History Year 7 |History Year 9 |History Year 11 | below History subject. I have used a hierarchy slicer but is not working well, the count should be 3 as there are three children below History subject.

Code:        Subject                     Hierarchy Relationship

400           History                      Parent                

400-10     History Year 7            Child

400-11     History Year 9            Child

400-12     History Year 11          Child

500          Maths                        Parent

500-10    Maths Year 11           Child 

500-12    Maths Year 12            Child

Thanks in advance

 

 

2 REPLIES 2
amitchandak
Super User
Super User

Much appreciated @amitchandak 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.