Concat (PQL)

Returns a text string joining two or more values of columns or text into a single text string

  • Returned Output: Text
  • Library: PQL \ Granular \ String
  • Version: 2023.00.000
  • Compatibility: Pyramid Query Language (PQL) data sources

Syntax

or

Concat( <Text> , <Text N> )

or

Concat( <Column String> , <Text> , <Column String N> , <Text N> )

Syntax Alternatives

StringJoin( <Column String> , <Column String N> )

or

StringJoin( <Text> , <Text N> )

or

StringJoin( <Column String> , <Text> , <Column String N> , <Text N> )

* Click on the function's arguments above for more details on the input values.

Comments
  • The columns need to be attributes with string / text values in the model. (The data type needs to be 'string')
  • You can concatenate multiple string columns with multiple text elements. The text is captured in double quotes.
  • For details on how to employ and use this function see the custom column overview.
Different Function types

Examples

This example returns a column that is the concatenation of the firstname column with a space character and then the last name column.

Concat([customers].[FirstName]," ", [customers].[LastName])

You can see the effect from this example snippet in column #3 below, based on the source columns in positions #1 and #2..