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
D_PBI
Post Patron
Post Patron

Full Screen and Focus Mode options when embedding in a Power Apps Portal

Hi,
I have created a standard Power BI report and provided it to our external Power Apps Portal team. The way the Portal team has designed the Portal means the window/frame that actually embeds the report is only 40% of the total screen. The remaining 60% is just white space (wasted space). As a result of the Portal design, the PBI report looks small and I have been asked if there is a way to enlarge the report (obviously, I've responded stating to enlarge the Portal window/frame that contains the report to fully utilise the screen's space).

Is there a way the PBI report can keep its standard 'Focus Mode' functionality when embedded in the Portal?
Is there a method, maybe a button that is clicked, I can implement in the PBI report that exapnds the reports to show outside of the Portal window/frame and show the report Full Screen?

I would imagine the Portal, being the container, overrides anything the PBI report can do but I thought I'd ask.

Thanks.

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @D_PBI ,


It is possible to open embedded reports in fullscreen mode using javascript:

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

For more details,you can refer to the powerbi-client javascript library:

https://github.com/microsoft/PowerBI-JavaScript#powerbi-client 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @D_PBI ,


It is possible to open embedded reports in fullscreen mode using javascript:

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

For more details,you can refer to the powerbi-client javascript library:

https://github.com/microsoft/PowerBI-JavaScript#powerbi-client 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.