I am encountering problems with the 'Aggregate' tool and the 'concatenate' function with the '\n' delimiter. The process is not resulting in a line break as expected.

Please see the screenshot of the parameters and the result. enter image description here enter image description here enter image description here

When I use '\n' in a label expression or even in the 'Field calculator' tool, it works. This process is not causing any problems for my colleagues.

I have tried it on stable version 3.22 and on the new version 3.28. I have uninstalled all versions and reinstalled them.

Can anyone help me?


1 Answer 1


The delimiter text seems to be considered as plain text.

There are some workarounds:

  1. you can keep the , delimiter and instruct to break your label on commas

enter image description here

  1. you can add the line break to the text to be aggregated (not the delimiter), with an empty delimiter. This however will add an extra line break after the last item

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.