Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
seahyanzheng
Contributor III
Contributor III

Selecting multiple values using concat function

Hi,

May i ask how do i select multiple values on field event trigger?

For example, on "_metricNo" selections, i like "_metrics" to be selected.

Im able to get "_metrics" values:

='(' & concat(''& _metrics & '','|') & ')' which returns these values

Capture.PNG


and i put in get field selection for "_metrics" but it doesnt get selected. The values above are delimited by '|'.

May i ask how do i proceed?

Thanks!


2 Replies
ashwinisondkar
Contributor
Contributor

Could you please try below expression

='('&Concat(_Metrics,'|')&')'

seahyanzheng
Contributor III
Contributor III
Author

Manage to get the answer:

='(' & Concat(DISTINCT chr(34) & _metrics & chr(34), '|') & ')' instead of

='(' & concat(''& _metrics & '','|') & ')'

Thanks.