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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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