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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ale_BI
Helper I
Helper I

Using a hierarchy table without proper columns in a table as a measure

I have a hierarchy tables of companies, and I need to use this to show in a table that certain companies are under others. The problem is that this hierarchy, as you can see below, has one column for father and child with distinct values, but only distinct values so I can't use the PATH function on it.

 

unnamed.png

 

Now I have to make this table in my report:

ale_BI_3-1669284313679.png

 

Where, for example, Revenues is both a hierarchy father and has 3 children, and so on. I am completely lost as to how to write down this in a measure, can anyone help me out? The First table is connected to my Facts Table through a column that has all of the values for the codes present in 'root' and so on. The first table is just temporary, it will then be updated to include more data, but I thought I could at least try to get started on this

 

3 REPLIES 3
NikhilChenna
Skilled Sharer
Skilled Sharer

Hi @ale_BI ,

 

You will be able to drag the measures only in the values part. So I think it should effect you. Try it out. 

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

NikhilChenna
Skilled Sharer
Skilled Sharer

Hi @ale_BI , I think you can use a matrix table as a visual. 
and drag root_desc in rows first and after the L1_desc second so the hirarchy comes properly. 


Regards,
Nikhil Chenna

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

I think that could work, but I am afraid I need to show more values at the bottom which I have in form of measures. So, ideally, I would put everything in a measure and then show it

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

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.