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: 
Alf_A
Partner - Contributor
Partner - Contributor

Concat with changing delimiter

Hi,

I wanted to know if it was possible to have a delimiter that changes per string. See example of what I'm looking for below:

Data:

Group Date
A 18-May-15
A 12-Dec-15
A 20-Jul-15
A 14-Jun-15
B 15-May-15
B 16-May-15

 

'Date 1: ' & concat({<[Group]={'A'}>}[Date], [delimiter])

Output I'm looking for:

Date 1: 18-May-15 Date 2: 14-Jun-15 Date 3: 20-Jul-15 Date 4: 12-Dec-15

After the first value I'd like the delimiter to add a +1 . Is this possible?

 

Labels (1)
1 Solution

Accepted Solutions
MarcoWedel
MVP
MVP

maybe like this?

 

MarcoWedel_0-1651056603697.png

 

Concat({<[Group]={'A'}>} Aggr('Date '&RowNo()&':'&Only(Date),Group,(Date, (Numeric, Ascending))), ' ')

 

hope this helps

Marco

 

View solution in original post

1 Reply
MarcoWedel
MVP
MVP

maybe like this?

 

MarcoWedel_0-1651056603697.png

 

Concat({<[Group]={'A'}>} Aggr('Date '&RowNo()&':'&Only(Date),Group,(Date, (Numeric, Ascending))), ' ')

 

hope this helps

Marco