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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Balthazar
Contributor
Contributor

How to display a value that does not exist

Hello I currently have empty values in my table and I would like to replace them with a "0".
I have already tried these solutions:


- if(isnull(FIELDNAME,0,FIELDNAME),
- if (FIELDNAME) = '-',0,FIELDNAME)
- if (len(trim(FIELDNAME) =0, 0, FIELDNAME))
-if (not Exist(FIELDNAME), 0 , FIELDNAME)

I need help please.

 

Labels (3)
2 Replies
khaoulaaa
Partner - Contributor III
Partner - Contributor III

Hello @Balthazar ,

Try to add your field as measure and not as dimension and use this expression:

if(isnull(FIELDNAME),0,FIELDNAME