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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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