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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
San_Raz
Frequent Visitor

Remove Blank rows from a Hierarchy in a matrix table.

I am having a table where there are heirarchical parental levels to the Name column.

 

Level 1level 2Level 3Level 4Name
A1B1  Activity 1
A1B2C1D1Activity 2
A2B3C2 Activity 3
A3   Activty 4


When I create a matrix table, some of the parent levels of the name columns are blank. But the matrix table doesnt recognize this and creating a blank rows for each levels as shown below.

San_Raz_0-1738684186163.png

I wanted to remove the blank rows and only display the levels where there is a value as displayed below

San_Raz_1-1738684315210.png

 



1 REPLY 1
lbendlin
Super User
Super User

While it is possible to prune dead branches with custom visuals  you seem to want to collapse branches with dead parents. That is not currently possible in any visual, and it will most likely result in user confusion anyway.  Better cleanup your data.  There should be no blank parent elements in any hierarchy.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.