Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

pick Script and chart function

The pick function returns the n:th expression in the list.

video thumbnail

Syntax:  

pick(n, expr1[ , expr2,...exprN])

Return data type: dual

Arguments
Argument Description
n n is an integer between 1 and N.
Example: Chart expression
Example Result
pick( N, 'A','B',4, 6 ) returns B if N = 2

returns 4 if N = 3

Example - Assign labels to products using pick

Example - Assign region labels using pick

Example - Combining pick and match to translate lists of alternative text matches

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!