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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.