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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
asad-mustafa-
Regular Visitor

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!





@audreygerred 

Thanks for your reply.

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

asadmustafa_0-1699438996444.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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