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: 
raadwiptec
Creator II
Creator II

if stmt

I need to have something in the script like the below -

IF len (product) < 0 and isnull(product) then costprice else saleprice

any suggestions

10 Replies
balabhaskarqlik

=IF((Len(Trim(product)) = 0 or IsNull(product)), costprice, saleprice)