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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to remove BLANK on vard visual

I have a card visual based on this DAX  logic, however whenever there is no values (results) i keep getting  BLANK on the card visual- i tried appending a zero at the end of teh logic but that  is not working. anyone else has a suggestion?

OrderCount =
CALCULATE(DISTINCTCOUNT('sales'[orders]))+0
5 REPLIES 5
luiguiwong
New Member

IF(COUNTA(SICTEC[CLASE])=0,"0")
 
Syk
Super User
Super User

What you have should work..

Syk_0-1683654746464.png

Syk_1-1683654756836.png

You can also try the coalesce function which returns the first value that is not blank. This should also keep it from saying (Blank)

 

 

Syk_2-1683654821009.png

 

Anonymous
Not applicable

Still getting a BLANK-  I tried all the above suggestions and still not getting the desired output

Do you have a copy of the PBIX file you could share?

Anonymous
Not applicable

Its a live data unfornately i cant share

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.