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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
shamitshah
Partner - Creator
Partner - Creator

IF statement expression

Hi,

I need help with the following if expression which is currently incorrect. The statement should show the InwardsMonthYr if PurchaseID <0, otherwise leave it blank.

if(PUR_MYOBPurchaseID=('<0'),max(InwardsMonthYr))

Thanks

Shamit

Labels (1)
1 Solution

Accepted Solutions
avinashelite
MVP
MVP

Try like


if(PUR_MYOBPurchaseID<0,max(InwardsMonthYr))

View solution in original post

4 Replies
avinashelite
MVP
MVP

Try like


if(PUR_MYOBPurchaseID<0,max(InwardsMonthYr))

er_mohit
Master II
Master II

Try This

max(if(PUR_MYOBPurchaseID<0,InwardsMonthYr))

Chanty4u
MVP
MVP

try this

if(PUR_MYOBPurchaseID<0,max(InwardsMonthYr))

ramasaisaksoft
Master
Master

Hi Shamit,

Check the below exp.

here we converted PUR_MYOBPurchaseID into num format .

=If(num(PUR_MYOBPurchaseID)<0,max(InwardsMonthYr))