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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nitin_sp
Regular Visitor

Report Embed in Phone Layout shows only middle part

Hi,

 

I am trying to use the mobile embed layout as explained here;

 

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile

 

Here is my config settings looks like for embed;

 

"{"tokenType":0,"accessToken":"<TOKEN>","permissions":7,"id":"211ff41e-e652-473a-9586-92d1f126ad99","embedUrl":"https://app.powerbi.com/reportEmbed?reportId=211ff41e-e652-473a-9586-92d1f126ad99","type":"report","pageName":"ReportSection","pageView":"oneColumn","settings":{"filterPaneEnabled":false,"navContentPaneEnabled":false,"layoutType":2}}"

 

The height and width of the embed div is: width: 724px; height: 407.25px;

 

I tried to change the height and width but that didnt matter much.

 

Here is a screenshot of the power BI desktop in Phone Layout:

 

Power BI Phone LayoutPower BI Phone Layout

 

And here is how it looks in page after embed with MobilePortraitLayout:

 

 

After embedAfter embed

 

Just want to understand whats wrong am I doing. I tried to play with the height / width to ensure thats not something wrong I am doing but that didn't help. 

 

Any help will be appreciated!

1 REPLY 1
mshenhav
Power BI Team
Power BI Team

Hey nitin_sp,

 

Can you please post your question atthe develop forum - https://community.powerbi.com/t5/Developer/bd-p/Developer

as the scenario you are describing is an embedded scenario.

This forum covers Power BI Mobile apps topics.

 

Thanks, Maya

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Kudoed Authors