Forum Discussion
Chapin4u
9 years agoMicrosoft Employee
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...
- 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
Anonymous
4 years agoNot applicable
I have managed to get a line break using UNICHAR(10) & UNICHAR(10240)