Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi everyone,
Is there a way to cut the space between the lines in Power BI? I have a text box and the white space is taking up more space than I hope it does (screenshot attached below). Wonder how you would make the spacing between the lines smaller?
Thank you very much in advance!
change the font size in the JSON file and that will fix your issue
"textbox": { "*": { "*": [ { "fontSize": 12, "fontFamily": "Lato", "wordWrap": true, "color": { "solid": { "color": "#000000" } } } ], "general": [ { "responsive": true } ], "background": [ { "show": false, "color": { "solid": { "color": "#FFFFFF" } }, "transparency": 100 } ], "visualHeader": [ { "show": false } ] } },
@Anonymous did you copy and paste the text in to the text box? If so, it's like got carriage return in it. Go to the end of each line in the text box and press the delete button so that there are no spaces between "social" and "media". Then press space. See if that helps... output should look like below:
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Thank you @TheoC . I tried your suggestion and also retyped the text, but the spacing seems to be the same - The spacing looks pretty fine when the font size is above 10 but once the font size is below 10 (8 in my case), the spacing looks big compared to the font and I wonder if there's a setting to change the spacing? Thank you very much in advance if you know any tips to solve this problem!
@Anonymous it doesn't have anything to do with the text size as below is a text box with 8pt font.
Just to confirm, you clicked on the visual and created a new text box and then typed the text in that new text box? Just asking because if you used a copy and paste, the problem will carry over.
Let me know about the above.
Theo 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi @Anonymous ,
By my test and reserch, the line spacing is fixed and cannot be modified. If you paste other content with different line spacing into the text visual, it will become the same line spacing.
You could submit an idea in Power BI ideas Forum to improve Power BI and make this feature coming sooner.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.