Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
After publishing a report to my Azure Workspace, I am able now to integrate it to my portal using JavaScript, but I get a scroll bar and not sure what property to adjust to make it fit the Div
Hi @ukluk,
Are you using <iframe> to embed your report within a Div?
If that is the case, you should be able to change the width of the <iframe>, or set scrolling property to "no" to make it fit the Div in this scenario.
var iframeHtml = "<iframe style=\"width:100%;height:100%;\" src=\"" + this.config.embedUrl + "\" scrolling=\"no\" allowfullscreen=\"true\"></iframe>"; this.element.innerHTML = iframeHtml;
For more details, you can refer to the Power BI Sample here.
Regards
User | Count |
---|---|
47 | |
32 | |
30 | |
27 | |
25 |
User | Count |
---|---|
56 | |
55 | |
36 | |
33 | |
28 |