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: 
vengadeshpalani
Creator
Creator

how to convert into set analysis expression

hi all

how to convert below if condition  into set analysis expression

count(DISTINCT if(Status='Pending' and YearEndFlag='Y' and KPI_Flag='RF' and (TimeSpecial_1=0 or DueDate<Date),JobID))

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

May be this?

= count(DISTINCT {< Status = {'Pending'}, YearEndFlag = {'Y'}, KPI_Flag= {'RF'} >} IF(TimeSpecial_1=0 OR DueDate < Date, JobID))

View solution in original post

1 Reply
vishsaggi
Champion III
Champion III

May be this?

= count(DISTINCT {< Status = {'Pending'}, YearEndFlag = {'Y'}, KPI_Flag= {'RF'} >} IF(TimeSpecial_1=0 OR DueDate < Date, JobID))