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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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

Much appreciated @amitchandak 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.