cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
desarrollosbi
Frequent Visitor

how to create public iframe on website but optimized for mobile version

Dear friends how to create public iframe on website but optimized for mobile version, view great example from your smartphone: https://corona.dataclue.bi

 

how can it solved?

 

Thanks

Regards

JaBI

2 ACCEPTED SOLUTIONS
nandukrishnavs
Super User
Super User

@desarrollosbi 

 

They have created two reports.

  1. for desktop
  2. for mobile 

For mobile-specific report they have used custom resolution (Page-size)

Then they have embedded the report into their site and based on the screen resolution they are interchanging the actual URL.


Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

View solution in original post

@desarrollosbi 

 

Since they are using custom page size, I don't know the exact values. But you can follow the normal mobile resolution 800x480 (16:10).

Then increase the height based on your requirement. Then you will get scroll bar in mobile, but vertical scroll bar is normal in mobile view.



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

View solution in original post

4 REPLIES 4
desarrollosbi
Frequent Visitor

@nandukrishnavs thank you very much I had not reviewed the links well and indeed they are two links with different views, so 

can you help me in what parameters the report page size should be configured in the power bi layout to get a mobile view as shown in the example please

regards

@desarrollosbi 

 

Since they are using custom page size, I don't know the exact values. But you can follow the normal mobile resolution 800x480 (16:10).

Then increase the height based on your requirement. Then you will get scroll bar in mobile, but vertical scroll bar is normal in mobile view.



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

thank you I lean more for the vertical position of the mobile since it is the most used, so how would be the code html to use for switch links interchange

 

thanks

 

 

nandukrishnavs
Super User
Super User

@desarrollosbi 

 

They have created two reports.

  1. for desktop
  2. for mobile 

For mobile-specific report they have used custom resolution (Page-size)

Then they have embedded the report into their site and based on the screen resolution they are interchanging the actual URL.


Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors