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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bwanRPD
Frequent Visitor

How to enable fullscreen button on embedded Report

Hi,

In the past, I was able to embed reports on my website with an icon that allows for fullscreen, like the below:

bwanRPD_0-1636397176945.png

For some reason now, when I embed, even though I have allowfullscreen="allowfullscreen" or allowfullscreen="true" that icon doesn't show up and there is no way for me to fullscreen the embedded report. Any ideas why?

 

Thanks

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @bwanRPD ;

 

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @bwanRPD ;

You may take a look at the post below.

1.https://stackoverflow.com/questions/40461309/power-bi-web-report-display-in-full-screen

 

  $scope.toggleFullScreen = function () {
        var iframe = angular.element(_iframeId);
        var elem = iframe[0];
        var requestFullScreen = elem.webkitRequestFullScreen || elem.requestFullscreen || elem.msRequestFullscreen || elem.mozRequestFullScreen || elem.webkitRequestFullscreen;
        requestFullScreen.call(elem);
    };

2.https://community.powerbi.com/t5/Developer/Possible-to-display-embedded-reports-in-full-screen-mode/...

 

<script type="text/javascript">
    function fullscreen() {
        // Get a reference to the embedded report HTML element
        var embedContainer = $('#reportContainer')[0];

        // Get a reference to the embedded report.
        report = powerbi.get(embedContainer);

        // Displays the report in full screen mode.
        report.fullscreen();
    }
</script>

 

https://stackoverflow.com/questions/63401563/power-bi-embedded-is-there-a-way-to-set-an-onfullscreen...

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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