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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ZeDe
Frequent Visitor

Dynamic Height and Y-position of visuals

Dear all,

 

I'm recreating a Sharepoint report in PowerBI. In the Sharepoint-report all records of the matrix are shown, so the amount of records determine the height of the visual. In my Sharepoint-report, the Y-position of the matrix is always 20px below the underside of the visual above (even when the visual above is 50px or 500px high). Is there a way to achieve these two functionalities in PowerBI in 2021 (like you can write adaptive height and y in PowerApps)?

 

Thank you in advance

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @ZeDe ,

 

It is not possible in PowerBI. The auto size of a visual is not available now. After the size of a visual is fixed, it will not be changed conditionally based on the content.

PowerBI added the ability to show and snap-to a grid, which makes lining things up easy.

You can turn that feature on by going:

Open PowerBI > File > Options & Settings > Options > Preview Features > Gridlines & Snap to Grid

Once that's on, go to View on the ribbon and turn on the grid.

Alternatively, you can alter the X Y coordinates of each graph, but that's much more time consuming

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlexisOlson
Super User
Super User

I don't think this is possible in Power BI Desktop. The visual boundaries are a fixed size.

 

A paginated report (Report Builder) can do this sort of thing but is a very different piece of technology.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.