Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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

1 Solution

Accepted Solutions
avinashelite

Try like


if(PUR_MYOBPurchaseID<0,max(InwardsMonthYr))

View solution in original post

4 Replies
avinashelite

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

Hi Shamit,

Check the below exp.

here we converted PUR_MYOBPurchaseID into num format .

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