0

LineBreak in a measure

Hi,

I'm trying to create a measure to be used as tooltip and it could contain text  that is  long.

Is there a way to add a line break or new line in the measure via a PQL formula ?

Found a PQL function for that LineBreak(), but it does not work in a Measure only in dynamic text.

Example:

"Hello" + LineBreak() + "World"

 

Tnx,

Michael

3 replies

null
    • Senior Director of Product
    • Ian_Macdonald
    • 10 mths ago
    • Reported - view

    Hi Michael,

    No, there does not appear to be a way to do this.

    Sorry,

    Ian

    • Michael_Raam.1
    • 10 mths ago
    • Reported - view

    Hi,

    The solution I found was to handle the line break at the DB level, and use an aggregation like "Max" on the measure

      • Principal Customer Solutions Consultant
      • Mark_Oldfield.1
      • 10 mths ago
      • Reported - view

      Michael Raam thank you for sharing the solution, with the 2023 release we also now provide a 'Text' aggregation method. I will investigate the same approach described above and use this instead of 'Max'

Content aside

  • Status Answered
  • 10 mths agoLast active
  • 3Replies
  • 55Views
  • 3 Following