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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.