Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have created a matrix visual and currently looks like this:
The source data has 3 columns: Team, Block, Person and then values for years.
My issue is that not all rows in the source data have a Team, Block or Person values.
Some have team; team and block; team, block and person; and others have none.
Is there a way to explode the matrix to show rows containing non-empty names in the column?
So something like this:
(Also removing the blank row at the top).
Right now I need to explode/collapse row by row to make it look nice, but that's not functional to publish for other users.
Solved! Go to Solution.
Hi @zervino ,
Thanks for the reply from @ajohnso2 , please allow me to provide another insight:
According to your description, I created these data.
1. Create a measure to determine whether the three-level names are all empty. If they are all empty, return 999, otherwise return the value to be displayed before.
MEASURE =
IF (
MAX ( 'Table'[Team] ) = BLANK ()
&& MAX ( 'Table'[Block] ) = BLANK ()
&& MAX ( 'Table'[Person] ) = BLANK (),
999,
SUM ( 'Table'[value] )
)
2. Filter the results where the measure is not 999 in the filter, and put the measure into the matrix values position.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @zervino ,
Thanks for the reply from @ajohnso2 , please allow me to provide another insight:
According to your description, I created these data.
1. Create a measure to determine whether the three-level names are all empty. If they are all empty, return 999, otherwise return the value to be displayed before.
MEASURE =
IF (
MAX ( 'Table'[Team] ) = BLANK ()
&& MAX ( 'Table'[Block] ) = BLANK ()
&& MAX ( 'Table'[Person] ) = BLANK (),
999,
SUM ( 'Table'[value] )
)
2. Filter the results where the measure is not 999 in the filter, and put the measure into the matrix values position.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
you can add a filter to the visual in the filter pane on LOB is not blank?
The matrix visual has 3 levels: Team, Block, Person.
Applying that filter works for the rows that have no name in any of the levels.
But I cannot use that kind of filter for cases for rows that have Team name but no Block.
In my example, Team C has no Block, so if I apply the filter by Block as well, all Team C would disappear from the visual.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
62 | |
58 | |
55 | |
36 | |
33 |
User | Count |
---|---|
81 | |
67 | |
45 | |
45 | |
43 |