Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use Switch statement in the expression

Hi,

Can I use switch statement in the expression. If anybody having the example pls share.

Regards

1 Reply
deepakk
Partner - Specialist III
Partner - Specialist III

hi Upendra,

Use the below method

pick(wildmatch(Year,2000, 2001,2002,'*'),'A', 'B', 'C', 'Other')

where Year is the field name. if the value is 2000 it will display A and so on....

You will find more explanation in the below forum

http://community.qlik.com/forums/t/39864.aspx