I am working with layers that have several characteristics in the attributable, and I need to show two of them together. Here is a demo map of the US state that shows me problem.

I used the string connection functions in the expression dialog for the simultaneous displaying of the "postal" and the "name" labels. enter image description here

Now this two labels are displaying together as one word. I tried to separate the "postal" from the "name" by enlarging the word values, but it's only separate the label that have to words in it. enter image description here

I have tried to change the placement of the labels, but they all moved as one word. enter image description here

How can I separate this two labels?

In this demo map example I need to separate the "ND" from the "North Dakota".enter image description here

  • 2
    What about "name" + ' ' + "postal"?
    – Joseph
    Aug 21, 2017 at 11:20

1 Answer 1


Thanks to the helpful comment from Joseph the problem is solved.

I have right the concatenating functions with an empty expression ' ' and + mark between the words. enter image description here

The result is separation of the labels as I needed it to be.

enter image description here

  • 4
    Careful, it's ' ', not " "
    – gisnside
    Aug 21, 2017 at 11:49
  • 1
    Maybe it's quibbling but you are rather 'concatenating' than 'aggregating' compared to existing function/expression names. Just to prevent any misunderstandings...
    – Nightwatch
    Aug 22, 2017 at 12:52

Your Answer

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

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