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

Join 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.

Reply
rreck
Frequent Visitor

Show all rows in matrix visual - even when there are no values

Hi all,

 

I am working on a dashboard where it is necessary to display data in the matrix visual. The matrix is planned to look like this:

ProductsYear 2019Year 2020Year 2021Year 2022
A) Product 10000
B) Product 2efgh
C) Product 3ijkl
D) Product 4mnop
E) Product 50000
F) Totaluvwx

 

Now I have products 1 and 5 which were not part of my portfolio in those years, but are in year 2023 which results in the follwing matrix:

ProductsYear 2019Year 2020Year 2021Year 2022
B) Product 2efgh
C) Product 3ijkl
D) Product 4mnop
F) Totaluvwx

 

Is there a way to get my matrix to show all products (like shown in first matrix) even if all the values are "0"?

 

Thanks in advance 😁

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @rreck ,

I created some data:

vyangliumsft_0-1677117616258.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    MAX('Table'[Value]) =BLANK(),"0",MAX('Table'[Value])
    )

2. Result:

vyangliumsft_1-1677117616261.png

Or if you click on the yellow label "Show items with no data", the values that are not displayed will be displayed as Blank()

vyangliumsft_2-1677117616262.png

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @rreck ,

I created some data:

vyangliumsft_0-1677117616258.png

 

Here are the steps you can follow:

1. Create measure.

Measure =
IF(
    MAX('Table'[Value]) =BLANK(),"0",MAX('Table'[Value])
    )

2. Result:

vyangliumsft_1-1677117616261.png

Or if you click on the yellow label "Show items with no data", the values that are not displayed will be displayed as Blank()

vyangliumsft_2-1677117616262.png

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Is there any solution to display not all rows but from lists only? 

Thank you for your answer, it helped a lot with a similar problem of mine

Anonymous
Not applicable

Hi, I have the same problem, but I have several columns with null values. How can I fix that?

 

Regards,

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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