Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

expression help

I have below variable which will store following list.

vList variable:

Paris

Tokyo

New York

 

Expression:    ='(' & Replace(Trim(vList), chr(10), '|') & ')'

results: (Paris|Tokyo|New York)

 

How can i change the expression so that my results looks like below:

required results: ("Paris"|"Tokyo"|"New York")

 

Labels (1)
1 Solution

Accepted Solutions
m_woolf
Master II
Master II

='("' & Replace(Trim(vList), chr(10), '"|"') & '")'

View solution in original post

1 Reply
m_woolf
Master II
Master II

='("' & Replace(Trim(vList), chr(10), '"|"') & '")'