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
PDE
Regular Visitor

Recreate structure in matrix without empty row values

I want to recreate a workbreakdown structure via a matrix visual in PowerBI.

In Excel (screenshot 2) I have the structure that contains a column value for each branch level. Not all branches contain 5 levels.

 

In the matrix visual (screenshot 1) I add all levels (columns) as rows and unfortunately also the smaller branches can be expanded upto 5 levels (of which some levels are thus empty). My hope was to be able to filter out the blank rows in the visual but no luck...

 

Has anyone got an idea how to handle this?

 

Thanks in advance!

 

PDE_2-1708503864052.png

 

PDE_0-1708503744210.png

 

1 ACCEPTED SOLUTION
2 REPLIES 2
Ahmedx
Super User
Super User
PDE
Regular Visitor

Hi @Ahmedx and thanks for the quick reply! The measure solution works perfectly. Any idea how to get rid of the remaining expand/collapse buttons? They keep showing at levels where a branch ends.

 

PDE_0-1708507273519.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.