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: 
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.

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.