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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Matrix Visualization

I have a matrix visualization in power bi. There are 'Dept' in the Rows and 'Year' in the column. And we have 'CountID' in the Values. 'CountID' is a mesure which i created. Now a matrix is being created. There are a total of 8 Dept but only 7 are being shown in visualization becasue the eighth Dept, i.e. Law, does't have any CountID for years 2014 to 2022. 

In the Filters pane, when I select years 2014 to 2022, Law dept doesn't appear but when I select year 2023, it shows Law dept with '3' value as there are 3 Law cases in 2023. Even though other departments also doesn't have values for all the years, so I want to replace empty cell with '0'.

What i want is to show the Law Dept as well even without any value. Or if possible, to replace empty cells with 0 for each department.

2 REPLIES 2
audreygerred
Super User
Super User

Hello! Select your matrix visual that you have created, right click in Dept, then select 'Show Items with no data' 

audreygerred_1-1699376972130.png

See, it now shows the items that have no data, no need to convert to 0:

audreygerred_2-1699377010824.png

This is what it looks like without showing items with no data:

audreygerred_3-1699377043361.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

@audreygerred 

Thanks for your reply.

I have tried this as well but it's not changing anything.

asadmustafa_0-1699438996444.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.