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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

How to connect hierarchy dimension table with fact table

Hi,

 

I have a dimension table shown below which is in the hierarchy form and I want to create the relationship between diemnsion table and a fact table. The fact table has column 'object_oh_name3_lvl4' which is a common column in both the tables.  The problem is that this column is not unique in the dimension table beacuse of which I am unable to create the relationship. I want to drill down the measure in the fact table from the top level of the hierarchy to the lowest level.

 

Any help would be appreciated.

 

Dimension table with 4 hierarchy levels (lvl_1, lvl_2,lvl_3,lvl_4)-
Dimension table with 4  hierarchy levelsDimension table with 4 hierarchy levels

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

the data model inside Power BI does not support recursive dimension structures (e.g. Parent / Child dimensions). For this you have model your dimension in another way.

 

This article describes this in a very concise way: https://www.daxpatterns.com/parent-child-hierarchies/

 

Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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