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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Case statement in Qlikview

How can I write this case statement in qlikview. 

case when t_accrual_month_end.CATEGORY not in ('4','9','16','21','22') then 'N'

       else 'Y' end as MISC_FEE_RECURR_FLG,

Thank you very much.

Labels (1)
1 Solution

Accepted Solutions
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

you could use the match function:

if(match(t_accrual_month_end.CATEGORY,'4','9','16','21','22')>0, 'Y', 'N')


View solution in original post

2 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

you could use the match function:

if(match(t_accrual_month_end.CATEGORY,'4','9','16','21','22')>0, 'Y', 'N')


Not applicable
Author


Thank you.