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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

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  @Anonymous ,

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

5 REPLIES 5
Anonymous
Not applicable

Hi  @Anonymous ,

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

I tried this solution. Its not working when i am showing count for each cell. the Matrix is not showing the Row or column if the data cells are not available. if i show blank rows then its not showing anything but blank rows. How to show all rows and columns even if some cells are blank with count 

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors
Top Kudoed Authors