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
nvgersdorff
Frequent Visitor

Embedded Report - grey areas

Hello everyone,

 

Iam embedding reports in a mobile app, reports are displayed in mobile layout. I want the reports to use the whole screenwidth but i cant make it happen. A small grey area remains and reports are not centered. I looked in to quite a few posts about this topic but none realy solved it.

 

You want to see an example of that behaviour? Just go to Microsoft PowerBI's embedded playground, run the example and look at the mobile layout. That's exactely what i get. Its not full width and not centered. I don't like that. Anybody thinks the same and found a way to achieve full screen width?

 

Kind regards

Nicolai

2 REPLIES 2
nvgersdorff
Frequent Visitor

Hello @v-stephen-msft ,

 

thank you for your reply! I tried using Full Screen but it didn't change anything with my visual. Am I using it correctly:

 

var element = document.getElementById('reportContainer');
var rep = powerbi.get(element);
rep.fullscreen();

 

I put this code both in onLoaded and on Rendered to see if it can make a difference but i get the same result. Do you have another idea? 

 

Kind regards

Nicolai

v-stephen-msft
Community Support
Community Support

Hi @nvgersdorff ,

 

You can try to use full screen.

If you're using Power BI mobile, full screen is available for Windows 10 mobile apps.

 

Reference: When to use full screen mode

 

 

Best Regards,

Stephen Tao

 

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.