Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I have done a lot of looking online and through these forums and cannot seem to find an answer to my problem.
I am trying to replace (Blank) with a 0 on a couple of cards. These card visuals do not link to slicers or other visuals but directly to a field in the table. The field in the table is empty.
I have tried to add a measure using ## = SUM(Table[Field])+0 but when I drag this onto the field of the card I get a cross on the card.
Surely this cannot be complicated - I am fairly new to PowerBI so any help would be appreciated.
Thanks
Ben
Hi @bencurt4 ,
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team _ kalyj
Hi
I am getting this error:
Does this mean I have to use something other than SUM to display 0 instead of (Blank) ?
Hi
You can convert the string value in the measure and then add it
Hi
This works for showing 0, however when there is data in the field I now get this:
Thanks
Ben
Hi @bencurt4 ,
According to your description, I reproduce your problem. It's not because of the formula, but because the card visual can't display such a large number.
If you create a table with a single row, enter a large value and put the column in a card visual, it can get the same result.
You can change the card visual to a table visual, it works fine.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
I guess the column is of type string. Change that to whole number cause SUM() uses only numerical columns
Is there a different formula I could use other than SUM to show a 0 value?
Hi,
I created a sample table with a column having blank values
I created the same measure you have mentioned and i am getting output as follows
the measure is working fine for me .
if this post helps, accept it as a solution
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |