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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.