Back
You can change it by using the following formula:
report.on("rendered", function (event) { report.getPages() .then(function (pages) { for (i = 0; i < pages.length; i++) { if(pages[i].isActive) { $("#report-container").width($("#report-container").height()*(pages[i].defaultSize.width/pages[i].defaultSize.height)); break; } } }); report.off("rendered"); });
Want to learn more about Power Bi, Come & join: power bi tutorial
31k questions
32.8k answers
501 comments
693 users