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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
heathernicole
Continued Contributor
Continued Contributor

How to display is in report?

Creating a report for commission.

 

Using the Matrix visual. I need to display a 0 for values that have a 0. In the dataset it displays as 0 but it won't in the visual. Any ideas?

~heathernicoale
3 REPLIES 3
Nhallquist
Helper V
Helper V

The first thing we should try would be to make sure you have the setting set where it allows the Row to show all items, even those "with no data.  

 

Values containing zeros.JPG

 

try this and let us know if that worked or not.

 

Nate

 

 

I did do that - it helped, it gave it a space. Which will work but ideally there are some cases where a 0 needs to be visible on the report side. It's on the backend, in the dataset. 

 

 

~heathernicoale

Since you got spaces, This leads me to believe that those values are blank or numm.  I would do a new column and created a statement like this....

 

IF(ISBLANK(myfield), 0,

    IF(LEN(myfield)=0,0, myfield))

 

No promises that this is the exact syntax, my DAX is really rusty.  However, the goal is to check if the field is "blank".  If it is, place a zero, then next test to see if the length of the field is zero characters.  If it is, then a zero, else the value of your field.

 

Let me know if this nets you the results you are looking for.

 

Good Luck,

 

Nate

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors