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: 
aswinnar
Partner - Contributor III
Partner - Contributor III

Concatenating multiple values for one field

Hi All, 

 

I am having another requirement, where for example for a store we are showing multiple locations: 

For the store walmart for example, we have the following locations: 

Dallas, Houston, Chicago, Denver, Miami 

When making a selection of a store, we are needing to have a text object that concatenates all of these locations for that store

 

so if I select Walmart in the text object I should be getting: 

 

Dallas/Houston/Chicago/Denver/Miami

 

But it seems whatever I try to do I am just getting null values due to their being too many values

 

Can you please help resolve this

 

Thanks

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Hav you tried using concat()

Try like this: concat(distinct [Locations], '/') 

View solution in original post

2 Replies
Vegar
MVP
MVP

Hav you tried using concat()

Try like this: concat(distinct [Locations], '/') 

ramchalla
Creator II
Creator II

@aswinnar if you want to see the values based on the selections, you can use the below

Replace( concat(GetFieldSelections(Location),',','/')