Forum Discussion

Chapin4u's avatar
Chapin4u
Microsoft Employee
9 years ago
Solved

Line break in a visual

Hi, I'm trying to do a line break in a visual using unichar(10) but it's not working for me. It's possible to use a line break in card visual? This how I wrote the measure for the card:   Card Hote...
  • v-huizhn-msft's avatar
    9 years ago

    Hi Chapin4u,

    After research, we can not add line break in text directly, because Power BI always strips line breaks out of text when it gets loaded into the Data Model. unichar function returns the Unicode character that is referenced by the given numeric value. unichar(10) return a unicode in your measure, and it is recognised by a text. So it is not working for you. As I tested, unichar(10) returns nothing. What's your expected result? Please review more details about UNICHAR in this blog.

    Best Regards,
    Angelia