Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Good day to all. I have a slight problem with displaying mobile view of embedded report. That report has a mobile view, I just can't display it, I always get desktop version. My embed config looks like this:
var config = {
type: 'report',
tokenType: models.TokenType.Aad,
accessToken: txtAccessToken,
embedUrl: txtEmbedUrl + "&mobileView=true", //I tried putting this to get mobile view to activate but to no avail
id: txtEmbedReportId,
permissions: permissions,
pageName: "ReportSection",
settings: {
layoutType: models.LayoutType.MobilePortrait, //as you see I call the right setting(hopefully)
panes: {
filters: {
visible: false
}
}
}
};
This is the content of my WebView in Xamarin App, but I used JavaScript client for embedding. I suspect that I have a file missing that could recognize and turn on mobile view, so here are the files I have:
powerbi-client.d.ts version is v2.18.0
I also placed this code in my .html file head element:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Solved! Go to Solution.
First you will need to create a report with mobile layout using Power BI desktop. After you created the report you can embed it using JavaScript SDK. In order to decide in which layout to embed, use the layoutType property of settings in embed configuration.
Current power bi embedded only available on web browser, it not contains mobile compatibility. You could code your website to change the Iframe to the mobile one when on mobile.
First you will need to create a report with mobile layout using Power BI desktop. After you created the report you can embed it using JavaScript SDK. In order to decide in which layout to embed, use the layoutType property of settings in embed configuration.
Current power bi embedded only available on web browser, it not contains mobile compatibility. You could code your website to change the Iframe to the mobile one when on mobile.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |