Forum Discussion

0Experience's avatar
0Experience
Icon for Helper III rankHelper III
1 year ago
Solved

Issues with Line Breaks in Power BI Card Visual

Hello Everyone,

 

I’m working on adding text to a Card visual using a measure, and I need to incorporate line breaks using UNICHAR(10) so the text appears sequentially. However, I’m running into an issue with text alignment.

  • The Card (new) visual has left text alignment, but when I use line breaks, the text doesn’t display correctly. It moves to the next line but leaves a lot of empty space beneath it, and not all the text is visible.

  • I’ve tried adjusting the card size, font, and padding, but nothing seems to fix it.

Does anyone know why this could be happening or have suggestions on how to resolve it?

 

I also wonder if there’s a way to achieve the left-aligned text formatting in the old Card visual, which might solve the problem.

 

I don’t think I can use a Textbox to display the output, but if anyone has alternative solutions, I’d really appreciate your input!

 

Power BI file is here.

 

Thank you

  • 0Experience No surprise the New Card Visual doesn't work. It is Preview. You can use a Text box and just define a value that is your measure like this:

     

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    0Experience No surprise the New Card Visual doesn't work. It is Preview. You can use a Text box and just define a value that is your measure like this: