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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
zz99
New Member

Get page height in embedded report?

We embed PowerBi reports with  "layoutType: models.LayoutType.Custom" and "displayOption: models.DisplayOption.FitToWidth". How can we retrieve (each) page height in order to adapt the iframe container height accordingly (and remove the vertical scrollbar) ?

(we cannot get directly iframe.innerContent height due to cross-domain policy)

(with DisplayOption.FitToPage,  we have oversized left and right margin in average).

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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