This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi All,
I have a 5 level matrix (for example), which includes rows that are empty, due to some values having 5 applicable levels, and others less.
The matrix simply shows the hierarchy as rows, with an ID below each applicable row:
How can I remove the blank row in WBS Level 4 above "Barred Tee" for example.
I've looked at solutions online, and none of them seem to work in this instance, as I don't believe I have a measure.
Cheers!
Solved! Go to Solution.
Hi @Donerandparmo1 ,
Thanks for reaching out to fabric community.
I have created a power bi file based on my understanding. I have unpivoted the columns and calculated columns to represent the data.
If the file doesnot meet your requirements please let us know you query in details so that we will try to reproduce what you want.
Thanks!!
Please try this similar post https://community.fabric.microsoft.com/t5/Desktop/Avoid-blanks-on-a-hierarchy-without-modifying-cont...
Hi @Donerandparmo1 ,
Have the provided solution helped in resolved your issue? If you still have any additional questions, please let us know.
Thanks!!
Hi @Donerandparmo1 ,
Could you please review the solution provided above and let us know if you have any further questions.
Thanks!!
Please try this similar post https://community.fabric.microsoft.com/t5/Desktop/Avoid-blanks-on-a-hierarchy-without-modifying-cont...
Hi @Donerandparmo1 ,
Thanks for reaching out to fabric community.
I have created a power bi file based on my understanding. I have unpivoted the columns and calculated columns to represent the data.
If the file doesnot meet your requirements please let us know you query in details so that we will try to reproduce what you want.
Thanks!!
Hi,
Are WBS Level 2-5 calculated columns built from a Path/PATHITEM function on a Parent-Child structure, or are they already separate flat columns coming from your source table from Power Query or the database ?
Did my response help you? Clicking Kudos is a small gesture that goes a long way, it encourages contributors and helps the community thrive!
✅ Did I answer your question? Please mark my post as a Solution, it helps others find the answer faster.
Senior Data & BI Consultant · Microsoft Fabric & Power BI Specialist
Hi,
Separate columns:
Use Power Query to unpivot Level 2 through Level 5 and remove the blank values, then build a clean parent→child structure, the Matrix will then show the hierarchy correctly without empty spaces https://community.fabric.microsoft.com/t5/Desktop/Having-issue-with-Ragged-hierarchy-in-matrix-visua....
Practically: create one column that concatenates only the non-blank levels into a single path/label per row (e.g., "PIPING" for the parent's own line, "PIPING > Barred Tee" for the child), and drive the matrix from that instead of 5 separate Level columns.
Did my response help you? Clicking Kudos is a small gesture that goes a long way, it encourages contributors and helps the community thrive!
✅ Did I answer your question? Please mark my post as a Solution, it helps others find the answer faster.
Senior Data & BI Consultant · Microsoft Fabric & Power BI Specialist
Hi,
Thanks for the response.
Not sure if I fully understand, but I have unpivoted all the WBS columns, and then simply placed into a matrix as such:
The issue with this is that I cannot identify which WBS Level 3s come from which WBS Level 2s, does this make sense?
Cheers
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 24 | |
| 21 | |
| 20 |