Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
We'd like to design a report and publish to a website (via iframe code). We need to make sure the Power BI report is mobile responsive for people that do NOT have a Power BI App downloaded. In other words, people who do not have the Power BI App downloaded can also view the report on our website just as the report is opened with the App (good screen layout and real estate, etc.).
Any ideas to share? Thanks
Solved! Go to Solution.
Hi @ELIU ,
Thanks for reaching out to the Microsoft fabric community forum.
1. Use the Publish to Web (iframe) Responsively
By default, the iframe generated by "Publish to web" is not mobile responsive — it uses fixed width and height.
To make it responsive, wrap the iframe in a responsive container using CSS.
Here’s a responsive embed code snippet:
<div style="position: relative; width: 100%; height: 0; padding-bottom: 56.25%;">
<iframe src="https://app.powerbi.com/view?r=YOUR_EMBED_URL"
style="position: absolute; width: 100%; height: 100%; border: none;"
allowFullScreen="true"></iframe>
</div>.
2. Design with Phone Layout in Power BI Desktop
Before publishing:
In Power BI Desktop, go to View > Phone layout and customize the report layout for small screens.
This layout is applied when reports are viewed on mobile, even in a browser, as long as the screen is narrow.
Official Microsoft guide:
3. Avoid Features That Don’t Work in Embed or Mobile
When building the report:
Avoid bookmarks, custom visuals, or slicers that are hard to use on small screens.
Test in mobile browsers like Safari and Chrome to confirm interaction works as expected.
4. Test Responsiveness Regularly
Resize your browser window orUse Chrome DevTools > Mobile view to simulate how the embedded report looks on different devices.
If the response has addressed your query , please Accept it as solution and give a 'kudos' so other members can easily find it.
Best Regards,
Sreeteja.
Community Support Team
Hi @ELIU ,
Thanks for reaching out to the Microsoft fabric community forum.
1. Use the Publish to Web (iframe) Responsively
By default, the iframe generated by "Publish to web" is not mobile responsive — it uses fixed width and height.
To make it responsive, wrap the iframe in a responsive container using CSS.
Here’s a responsive embed code snippet:
<div style="position: relative; width: 100%; height: 0; padding-bottom: 56.25%;">
<iframe src="https://app.powerbi.com/view?r=YOUR_EMBED_URL"
style="position: absolute; width: 100%; height: 100%; border: none;"
allowFullScreen="true"></iframe>
</div>.
2. Design with Phone Layout in Power BI Desktop
Before publishing:
In Power BI Desktop, go to View > Phone layout and customize the report layout for small screens.
This layout is applied when reports are viewed on mobile, even in a browser, as long as the screen is narrow.
Official Microsoft guide:
3. Avoid Features That Don’t Work in Embed or Mobile
When building the report:
Avoid bookmarks, custom visuals, or slicers that are hard to use on small screens.
Test in mobile browsers like Safari and Chrome to confirm interaction works as expected.
4. Test Responsiveness Regularly
Resize your browser window orUse Chrome DevTools > Mobile view to simulate how the embedded report looks on different devices.
If the response has addressed your query , please Accept it as solution and give a 'kudos' so other members can easily find it.
Best Regards,
Sreeteja.
Community Support Team
Hi @ELIU ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You.
Hi @ELIU ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @ELIU ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @ELIU This can be done by designing it with "View as Phone Layout" in Power BI Desktop to ensure a good layout. Use a responsive iframe on your website, allowing it to adapt to various screen sizes. Additionally, enabling "Fit to Width" and "Auto Size" settings in Power BI Service helps improve responsiveness.
User | Count |
---|---|
48 | |
31 | |
27 | |
26 | |
26 |
User | Count |
---|---|
60 | |
56 | |
36 | |
32 | |
28 |