4 Replies Latest reply: Mar 27, 2015 3:43 PM by Andrei Hes RSS

    Custom text alignment in text box/expressions?

    Julian Tong

      Hi all,

       

      I have a text box in one of my dashboards and I want to have a custom alignment for certain parts of the expression (ie. label is left aligned and data point in right aligned). Here's an example of the expression in my text box.

       

      = variable & ' string: ' & expression

      & chr(10)

      & variable & ' string: ' & expression

      & chr(10)

      & variable & ' string: ' & expression

       

      Basically I want the expression to be formatted as follows:

       

      = LeftAlign( variable & ' string: ') & RightAlign(expression)

      & chr(10)

      & LeftAlign(variable & ' string: ') & RightAlign(expression)

      & chr(10)

      & LeftAlign(variable & ' string: ') & RightAlign(expression)

       

      Is there an expression or character that allows me to do this in qlikview?