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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Hide duplicate intermediate level in Matrix

Hi,
I have a matrix made from data like in the following image.
There are 5 levels in the matrix, and there are cases when Project and Category have the same value. In the example below, there is one case where Category and Project both have the value 'Mobile'. The issue is that 'Mobile' appears twice in the matrix, and I need to show 'Mobile' only once, and the user has to still be able to drill down and see the values for levels Tasklist and Employee.
How can I do this?

 

Screen Shot 2020-01-20 at 10.20.22 PM.png

6 REPLIES 6
mussaenda
Super User
Super User

You can do a condition like if Column b = Column c, then blank, else column c.

 

Then hide blanks on your matrix

Anonymous
Not applicable

Hi @mussaenda ,
Thanks for your reply.
If I do that, then everything under the level "Mobile" is hidden. I need to still show the levels "Tasklist" and "Employee" that are under Mobile.
Screen Shot 2020-01-21 at 9.47.57 AM.png

Hi @Anonymous ,

According to the method provided by @mussaenda , you can create calculate column like this:

projectN = if( 'Department'[Category]='Department'[Project], BLANK(),'Department'[Project])
 

If use the above calculated column, the levels "Tasklist" and "Employee" still display, but the problem is the "duplicated" data of project may not be displayed when you drill down into project level (see below image ) . Then you can't know the values for which project... I haven't found another suitable way to display it . Anyway, I will try again later if there is any other way to achieve this .

hide duplicated level.JPG

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yiruan-msft 
I need to completely hide the blank level, because the blank doesn't look good in the matrix.

Hi @Anonymous ,

I'm sorry I haven't found the method to acheive your requirement. You can raise one idea ticket on Power BI Ideas by this link, you can vote it up and add your comments there to improve Power BI on this feature.

 

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rajulshah
Memorable Member
Memorable Member

Hello @Anonymous,

 

I don't think so you can hide the row where the duplicate rows appear. There has to be some value for that particular column.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.