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
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
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.