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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Matrix visual

If my matrix visuals has certain columns that do not have values, then how do I show them as zero?

 

Thank You!

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

In your calculated measure/ column formula. Just add +0 in the end.

 

Thanks
Raj

View solution in original post

Anonymous
Not applicable

Hi @Anonymous

 

 I think you are pulling ID from table and setting count in the "Fields" Tab. Instead, i would recommend to create a measure COUNT(Table1[ID]) +0 and use it in the matrix , which is the best practice so that it will help you in any futue measure branching as well.

 

Thanks
Raj

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Use Column+0 in formula.

 

Thanks
Raj

Anonymous
Not applicable

@Anonymous Hey where to give that?

Anonymous
Not applicable

In your calculated measure/ column formula. Just add +0 in the end.

 

Thanks
Raj

Anonymous
Not applicable

@Anonymous Hey that worked for the measures. But how can I show them with I have taken say Count of ID'S directly from the table?

Anonymous
Not applicable

Hi @Anonymous

 

 I think you are pulling ID from table and setting count in the "Fields" Tab. Instead, i would recommend to create a measure COUNT(Table1[ID]) +0 and use it in the matrix , which is the best practice so that it will help you in any futue measure branching as well.

 

Thanks
Raj

Anonymous
Not applicable

@Anonymous It worked. Thank you!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.