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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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