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

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