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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.