Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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