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

October 28 & 29: Experts share their secrets on how to pass the Fabric Analytics Engineer certification exam—live. 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

October NL Carousel

Fabric Community Update - October 2024

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