Forum Discussion

smpa01's avatar
smpa01
Community Champion
3 years ago
Solved

calculation group alignment issue for string

I have a measure as this

 

test = "this is a multiline test"
            & UNICHAR (10) &  "one"
            & UNICHAR(10) & "two"
            & UNICHAR(10) & "three"

 

If I use calculation group (Tabular Editor version 2.16.7), the measure is right aligned whereas without CG, the measure is left aligned.

I want to use calculation group but the CG measure should return a left aligned string. Is there a way around?

Using Calculation group

PBI Measure

 

parry2k  

 

Thank you in advance

 

 

5 Replies

  • smpa01 I did the same thing but got the left aligned with or without CG. See attached PBIX file, let me know if I'm missing something or doing it differently.

     

     

     

     

    • smpa01's avatar
      smpa01
      Community Champion

      Sorry parry2k  I can manually left align the Values for measure but  ot the total

       

       

  • smpa01 Understood but did you look at my pbix file? My question is what I'm doing differently, I don't see any issue of alignment in my file. Unfortunately, I never received any concrete answer on that.