Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Magnus-CPH-DK
Helper II
Helper II

Remove line spacing in text box

Hi

 

I have tried to find an aswer to this problem, which ought to be a very simple task.

I want my text box to fit this blue space. In an earlier report I made, the line spacing was removed, but now I cannot insert the text box from the old file, without Power BI adding these line spaces.

 

MagnusCPHDK_0-1695640497266.png

 

Since it seemed to work on the old file (which is no longer an option to update), I tried to take a snapshot of the text box, save it and insert it as an image. This did not go so well, as you can see:

 

MagnusCPHDK_1-1695640644240.png

 

I have noticed that the submitted idea to fix these text boxes has been in Microsofts backlog for 8 (!) years without them fixing this issue. So I very much hope that someone can help me come up with a solution to this, as it is really annoying.

Thanks in advance,

Magnus

5 REPLIES 5
Magnus-CPH-DK
Helper II
Helper II

Hi @KEAlexander ,

Thanks for the suggestions. I know the shift + enter trick, but it has no effect here unfortunately.

Unless there is a way to solve this that I have missed, I really don't have any options other than to cut down the text volume, which is kind of unsatisfying. I tried seperating the text blocks into several text boxes, but due to the line spacing, you have to make the text box very broad unless you want to scrollbar to appear. So that's not an option either.

 

This is what I am left with. Does Microsoft really not have any solutions to this simple problem?

MagnusCPHDK_0-1696360183264.png

 

There might be hidden troublesome characters. So you could copy the text to NotePad or NotePad++ and make sure it is exactly as you want, then copy to a newly created text box. Sometimes using Word or other apps will cause issues. Hope this helps. 

Magnus-CPH-DK
Helper II
Helper II

Hi @KEAlexander 

Unfortunately it does not solve the problem. For info I run this version of Power BI: Version: 2.121.762.0 64-bit (september 2023). Maybe I have overlooked some formatting settings, but I haven't seen any ooptions that could help...

Okay- another thing to look at is extra spaces. Are there extra spaces at the end of each line, causing the line to wrap?

KEAlexander
Helper I
Helper I

Sometimes holding down the shift key when you hit enter will prevent the extra line space. So remove the line feeds/carriage returns to make the lines all run together, then position your cursor where you want the new line to begin, hold down the shift key and hit enter. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors