Skip to main content
Announcements
April 9th: The AI Roadmap: 6 Landmarks for AI-ready Data and Analytics: REGISTER NOW
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

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