2 Replies Latest reply: May 24, 2018 7:05 AM by Martin Mahler RSS

    Concatenate Text and Field

    Lingzhou Wu

      Hi all,

       

      Right now I'm using the Vizlib filter extension to make dropdown filters. The problem is that while the filters have a header in listbox display type, theres no header option for dropdown display type.

       

      In the expression box for Dropdown Label, is it possible to concatenate text onto the label?

       

      E.g. if the selections are 'Green', 'Blue' and 'Yellow', could I write an expression such that the dropdown box displays instead: 'Colour: Green', 'Colour: Blue', 'Colour: Yellow'?

       

      I think a nested if statement would also work but its a lot of effort and I'd prefer to make it less manual.