Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Handling missing symbols

Hi, everybody,

I have a problem with missing symbol in QV chart. I use formula "Count(distinct field_name) " in my chart expression and for those cells wich are missing, I would like to see 0 (as number). Is it possible to achieve?
I tried methods IF(IsNULL(Count(distinct field_name)), 0, Count(distinct field_name)), but this does not work.

Thanks for you help,
Ramunas

Labels (1)
1 Reply
johnw
Champion III
Champion III

You could try this:

rangemax(0,count(distinct field_name))

But I don't know why what you said wouldn't work. Well, unless you're using 64-bit, which has issues with isnull(). If that's the problem, use len(...)>0.

Another option might be to make your null symbol be 0 and right justify it in the cell.