Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
cliff_clayman
Creator II
Creator II

How to replace 'Is Not Null' in an Expression

I have an expression that was used in Access that I am trying to re-create in Qlik.  I am not sure what to replace 'Is Not Null' with in the expression.  Here is the expression:


If([Division]="A" And [Total$] Is Not Null,[LocationNumber] & ":" & [LocationName],[LocationNumber])

2 Replies
trdandamudi
Master II
Master II

May be as below:

If([Division]="A" And Len(Trim([Total$])) > 0,[LocationNumber] & ":" & [LocationName],[LocationNumber])

Hope this helps...

CarlosAMonroy
Creator III
Creator III

Hi,

You can use: not IsNull() function.

If([Division]="A" And Not isNull([Total$]),[LocationNumber],[LocationNumber])

Thanks,

Carlos