CONCATENATE() different column values with a dinamic separator

Hello, Im trying to concatenate 6 values into a virutal column that works as a summarization column in a table view and I need those values separated by a separator of some kind.  Ive used as separator " " since I wanted the space but, if the values of the columns concatenated are empty then the virtual column is not blank but made of "     " (5 spaces). Is there a way to concatenate those values without having to force a separator?

Solved Solved
0 14 603
1 ACCEPTED SOLUTION

Try this:

SUBSTITUTE(
  CONCATENATE(
    LIST(
      [Invio dati],
      [Pulizia canali],
      [Canali],
      [Batteria],
      [Minimo notturno],
      [Idrovalvola],
      [Note]
    )
    - LIST("     ", "")
  ),
  " , ",
  " "
)

View solution in original post

14 REPLIES 14
Top Labels in this Space