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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

shape line to the end of the box

Hi Gurus, 

 

Does anyone know how to drow a line shape to the end of the box around it. Below is just a shape visual (line).  But top and bottom does not reach to the boder. is there anyway I can reach this line to the border. 

Any help would be hightly approciated

 

reachtoend.PNG

1 ACCEPTED SOLUTION

@Anonymous external image has less padding space, see below image, blue is an image in power bi, orange is a line image, imported in Power BI.

 

image.png

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

You can see this for yourself pretty easily. Create a blank report with a grey background.

 

Insert > Shapes > Rectangle. Set the fill to White. You will see a white rectangle with blue line. If you resize the width to 400 or more the space outside of the blue line and the white shape get bigger the wider you make the shape. So the blue line is actually inset of the rectangle, not the outline of the rectangle.

 

If you try to add a border instead of the line, that appears to be outset of the white rectangle if you're looking to have rounded edges.

 

So for example if you're hoping to add a rounded rectangle behind a visualization to make the visual appear to have rounded corners, it's very difficult to get consistent spacing between visualizations of different sizes becuase the spacing between the line and the shape scale as you increase the size of the shape. Just another infuriating quirk of Power BI. 

The following 2 rectangles both have an x position of 25, one is 200 wide, the other 1000, and because of this quirk, they do not actually line up. It's stupid.
powerbi_rectangle_madness.png

amitchandak
Super User
Super User

@Anonymous , the image you have provided is not making it clear. Can you provide better image and explain the issue

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@Anonymous really not sure what you are looking for and if you paste a big image and explain it that will be helpful.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Hi @parry2k 

 

Thanks a lot. see there's a tiny gap around the box and the line. I need blue line to be continue to the end of the box. Hope this is clear enough

 

reachtoend.PNG

@Anonymous not sure if it possible, there are hardly many settings around it. Just curious, why it matters?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

I am creating a line to seperate filter on the left side of the report page and information on the rightside of the report page. I am bit OCD (lol) seeing just a white bit at the bottom of it I can't stand :).

 

maybe a new idea to PowerBI team then lol

@Anonymous you surely have eyes to the detail, keep it up, and don't worry I'm also like you. So only another option I can think of is that you can create an image in an external tool and then bring it in and can expand as much as you can ( i think).

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@Anonymous external image has less padding space, see below image, blue is an image in power bi, orange is a line image, imported in Power BI.

 

image.png

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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