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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

IF condition script

Hi Qlikview experts, how can I use If condition in the script when I have the situation below?

Load,

if ((qty(flag='a' and is not null) > qty(flag='b' and is not null)),qty(flag='a'),qty(flag='b')) as NewQty

Best Regards,

2 Replies
sunny_talwar

Would you be able to show 5-10 rows of data to show your data to see what you might have?

saimahasan
Partner - Creator III
Partner - Creator III

Please elaborate your requirement.