Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Concatenation Issue

Hi,

I have the following expression

=Concat(If(Len(Trim(Aggr($(e.appointments), [Appointment Priority]))) > 0, [Appointment Priority] & ' - ')

& trim(Aggr($(e.appointments), [Appointment Priority])),chr(13))

 

with the following result

clipboard_image_0.png

how do I remove the first - 0

Labels (2)
1 Solution

Accepted Solutions
Highlighted
Partner
Partner

I added a set modifier to your outer concat. 

 

=Concat({<[Appointment Priority]*={"*"}>}If(Len(Trim(Aggr($(e.appointments), [Appointment Priority]))) > 0, [Appointment Priority] & ' - ')

& trim(Aggr($(e.appointments), [Appointment Priority])),chr(13))

 

Plees ekskuse my Swenglish and or Norweglish spelling misstakes

View solution in original post

3 Replies
Highlighted
Partner
Partner

I added a set modifier to your outer concat. 

 

=Concat({<[Appointment Priority]*={"*"}>}If(Len(Trim(Aggr($(e.appointments), [Appointment Priority]))) > 0, [Appointment Priority] & ' - ')

& trim(Aggr($(e.appointments), [Appointment Priority])),chr(13))

 

Plees ekskuse my Swenglish and or Norweglish spelling misstakes

View solution in original post

Highlighted
Digital Support
Digital Support

Alan, did Vegar's post help you resolve things?  If so, please be sure to give him credit due by using the Accept as Solution button on his post, this will also let others know the solution worked as well.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Highlighted
Partner
Partner

Thanks Vegar, it works perfectly.