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: 
Not applicable

IF to SET Analysis conversion question

Hi Experts,

Is it possible to convert the follwing expressions into set analysis

max( if (ORD_DT <= '5/18/2007',ORD_DT))

COUNT(DISTINCT if (ORD_DT<= '4/18/2007', ORD_ID))

Thanks,

Aji Paul.

1 Reply
sushil353
Master II
Master II

try this:

Count({<ORD_DT={"<=4/18/2007"}>} DISTINCT ORD_ID)

Max({<ORD_DT={"<=5/18/2007"}>} ORD_DT)

if "" (double quotes) doesn't work then try with '' (single quotes).

HTH

Sushil