Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
how do I remove the first - 0
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))
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))
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
Thanks Vegar, it works perfectly.