Forum Discussion
Embedding a PowerBI report inside a Portrait PowerApp using mobile layout
Hi karimm
Based on my research, the current PowerBI built-in mechanism of mobile layout works in Power BI Mobile App, not for Embed scenarios.
In your scenario, you could adjust the page size of the Power BI report into a mobile screen size although it is actually in landscape mode. This may be an alternative. Please refer to this blog A better way to Mobile - (powerbi.tips)
Another alternative is that you could pin all Power BI report visuals to a Power BI dashboard first. Then in Power Apps Canvas, using Insert > Charts > Power BI Tile to add Power BI visuals to your Power Apps. See How to create a canvas app with Power BI visual - Power Apps | Microsoft Docs
Or you could try adding a Power BI dashboard to your App or add Power BI tiles to your own dashboard in your App. Add or edit Power BI visualizations on your dashboard - Power Apps | Microsoft Docs
Hope this could be helpful.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
- karimm4 years ago
Helper III
Thank you so much for the detailed answer.
Are you sure about this part?
Based on my research, the current PowerBI built-in mechanism of mobile layout works in Power BI Mobile App, not for Embed scenarios.
Based on the following article, it should be possible to request the mobile layout in Web Applications:
I'm just surprised, that it's possible to request mobile layout in any web app, but not in PowerApps, which is a Microsoft product...
Anyway, we are currently going the approach of having new page with custom size that is adapted for mobile, in addition to the regular desktop pages (which I believe is what you meant in your first suggestion).
The mobile adapted pages are all hidden and will navigate to each other using shapes. The URL for embedding into PowerApp's Power BI Tile will be taken from the service and we will add pageName parameter so that the relevant mobile adapted page is loaded by default.