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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ah2020
Helper I
Helper I

Opening an Embedded Power BI Report in Full Screen

Hi all,

 

I have a Power BI Pro license and I have published my Power BI reports in relevant workspaces on the Power BI Service. However, my reports are consumed via an embed on webpages. 

 

My issue is that the end-user cannot go full-screen with the reports. If you look at reports "published to Web", there is a little 2-sided arrow icon on the bottom right of the Power BI Report. By clicking on this icon, the Power BI Report goes full screen. (here is an example: https://excellab.at/power-bi-report-samples/covid19-mortality-vaccinations/ )

 

However that icon seems to be missing on my embedded reports. Anyone knows about a workaround to this problem?

I have been looking for a solution to my problem all over the web but I still can't figure out how to do it.

 

Any help would be appreciated.

10 REPLIES 10
lbendlin
Super User
Super User
lbendlin
Super User
Super User

No, you should implement a true "user owns data"  or "app own data"  embedding, and then implement the code that allows the hosting page to communicate with the iframe to negotiate the fullscreen request.

I guess this is what I'm already doing! I get my embed code from the Power BI Service from "File > Embed Report > Website or Portal". I then get a Secure Embed Window with the Embed Code. I copy this embed code and put it in the HTML codes of my web page.
When a user clicks on that link, the Power BI report opens (but it first asks the user to authenticate its login details). Or am I missing something in the process here?

lbendlin
Super User
Super User

Did you implement user owns data or app owns data?

How do I check this setting please?

I would also like to add that I am not using Power BI Embedded licensing model. I simply have a Power BI Pro license and using the "emded" code from the Power BI Service to embed my Power BI Report on a web page. The user (who also has a Power BI Pro license and with whom the Report has been shared on the Power BI Service) then has access to that Report on the web page. Before accessing that Report, he will need to provide his Microsoft Power BI login details.

As I mentioned above this is the "former" scenario. You have no control. Switch to true embedded if you need that Fullscreen feature.

If I understand correctly, I should use the same embed code provided by the Power BI Service but instead of using that in an iFrame, I should use it directly on the web page?

lbendlin
Super User
Super User

There's a difference between embedded and embedded.  The former is putting your regular Power BI report into an iframe on the target site, with no security linkage whatsover.  The latter is true embedding, either with app owns data or user owns data, where the authentication flows from the host to the embedded content.

 

Only the latter supports adding the full screen icon.  The former doesn't know how to "make a random iframe in my page full screen"

Thanks but I'm still confused. Isn't the Power BI example I provided using an iframe?

I don't think that's a "publish to web" report (unless I am missing something). 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors