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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BenjaminBoothBW
Frequent Visitor

Visualizing hierarchical data

Hello.

I have some problems visualizing data in a hierarchical format. I have tried to show the data in the tables below.

Process Hierarchies

Process NameLevel 0Level 1Level 2Level 3
Trigger_XTriggerXNULLNULLNULL
Master_ProcessTriggerXMaster_ProcessNULLNULL
Sub_processTriggerXMaster_ProcessSub_ProcessNULL
Sub_sub_processTriggerXMaster_ProcessSub_processSub_sub_Process

 

Process Runs

Process NameRun Time
Master_Process2
Master_Process3
Sub_process1
Sub_sub_process4
Sub_process1
Sub_sub_process4

 

When I try to visualize this data in Power BI, I have two problems:

1. there are blank rows on each level (see picture)

BenjaminBoothBW_2-1710768189937.png

 

2. When I visualize the data, it is doing the aggregation of its children instead of calculating only at the level that it is on. For example, Power BI would calculate the average run time of master_process as (2+3+1+4+1+4)/6, but I want it to only calculate on the level that it is at, so it would instead be (2+3)/2

 

I am unsure if this is a data modelling issue or something that should be done in DAX. 

4 REPLIES 4
Anonymous
Not applicable

Hi @BenjaminBoothBW 

 

In my tests, I do not have the same problem as you are experiencing.

vxuxinyimsft_0-1710814493209.png

 

But I found another problem, the value of "Sub_process" in this Matrix does not correspond to the value in the "Process Runs" table.

 

My suggestion:

vxuxinyimsft_1-1710816270670.png

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Yulia, thanks for your reply. 

I have edited sub-process to sub-subprocess in the example data. 

In the report you posted, I still see the same problem that I was describing. For example, I want Sub_process to show the average of (1+1)/2 = 1 and not including its children as it is currently doing: (1+1+4+4)/4 = 2.5.

I want the NULL row below sub_process to be the result of sub_process if that makes sense? (See screenshot) 

BenjaminBoothBW_1-1710833472041.png

 

 

 

 

MNedix
Super User
Super User

Check your data model and try to get rid of Cross filters going in Both directions. Also, try replacing "null" or blanks with something meaningful like "not applicable" or "n/a".



If the post helped then please give it a Kudos and mark it as the solution so others can see it.
Cheers,

Hi MNedix. Thanks for your reply. There is no cross filtering. The relationship is a simple one to many from the hierarchy dimension to the fact table. 

Regarding the blanks: I have found that the blanks actually show the value that I want to be shown at the level above it. This leads me to the think that I need to change some things in the underlying sql, but not sure exactly

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors