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.
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:
Products | Year 2019 | Year 2020 | Year 2021 | Year 2022 |
A) Product 1 | 0 | 0 | 0 | 0 |
B) Product 2 | e | f | g | h |
C) Product 3 | i | j | k | l |
D) Product 4 | m | n | o | p |
E) Product 5 | 0 | 0 | 0 | 0 |
F) Total | u | v | w | x |
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:
Products | Year 2019 | Year 2020 | Year 2021 | Year 2022 |
B) Product 2 | e | f | g | h |
C) Product 3 | i | j | k | l |
D) Product 4 | m | n | o | p |
F) Total | u | v | w | x |
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 😁
Solved! Go to Solution.
Hi @rreck ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
MAX('Table'[Value]) =BLANK(),"0",MAX('Table'[Value])
)
2. Result:
Or if you click on the yellow label "Show items with no data", the values that are not displayed will be displayed as Blank()
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
Hi @rreck ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
MAX('Table'[Value]) =BLANK(),"0",MAX('Table'[Value])
)
2. Result:
Or if you click on the yellow label "Show items with no data", the values that are not displayed will be displayed as Blank()
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
Hi, I have the same problem, but I have several columns with null values. How can I fix that?
Regards,
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 |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |