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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

diverse null values using nullasvalue for diverse columns

Hello

I know that we can make null values selectable by using the NULLASVALUE

NULLASVALUE Field1;

SET NULLVALUE =''

what if I want to give "-" for null values for another field say Field2 what would be the syntax?

I can walk on water when it freezes
1 Reply
aveeeeeee7en
Specialist III
Specialist III

Do this in your Script where Field2 is lying in your table and create a new field.

if(Len(Trim(Fied2))>0,Field2,'-') AS NewField2

Regards

Aviral Nag