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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
harshadrokade
Post Partisan
Post Partisan

Hierarchy creation in power bi

Hi,

 

I have data in the below format with child & parent relationships. The first column has all ids & then the other column has parent ids. 

 

I want to create a drill down chart in power bi & so that If I click on Main parent id, I go to the next lower level id. If I click on lower level id, I go to further next lower level id.

 

E.g. Clicking on A-140 will take me to the data of A-136. Clicking on A-136 will take me to the data of A-132. Clicking on A-132 will take me to the data of A-128. 

 

Since I don't have all these data layers in separate columns, adding them in a drill down chart is difficult. How can I manage to create a drill down chart with the below format data?

 

All idsParent ids
A-123A-127
A-124A-128
A-125A-129
A-126A-130
A-127A-131
A-128A-132
A-129A-133
A-130A-134
A-131A-135
A-132A-136
A-133A-137
A-134A-138
A-135A-139
A-136A-140
1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @harshadrokade ,

 

Check the link below that shows a use case of this type of data:

 

https://www.daxpatterns.com/parent-child-hierarchies/


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @harshadrokade ,

 

Check the link below that shows a use case of this type of data:

 

https://www.daxpatterns.com/parent-child-hierarchies/


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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