This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Guys, I am playing around with Power BI Embedded Dashboards, and one thing I have found that Dashboard actually has a switch to turn into mobile friednly view:
Check this:
This happens if the size of the Iframe less than 320px!!!
Can anybody from MSFT help on how to make it responsive not only for devices with width less than 320px?
Thanks
Nick
Solved! Go to Solution.
@nicksav wrote:
Guys, I am playing around with Power BI Embedded Dashboards, and one thing I have found that Dashboard actually has a switch to turn into mobile friednly view:
Check this:
This happens if the size of the Iframe less than 320px!!!
Can anybody from MSFT help on how to make it responsive not only for devices with width less than 320px?
Thanks
Nick
AFAIK, Embedded Power BI dashboards won't auto fit the resolution to have a mobile friendly layout. As a workaround, in Javascript code, you can detect the screen resolution and then determine whether embedding in "fitToWidth" or "oneColumn".
var config = {
type: 'dashboard',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
//pageView: "fitToWidth",
pageView: "oneColumn",
id: embedDashboardId
};
OneColumn(left) VS fitToWidth(right).
@nicksav wrote:
Guys, I am playing around with Power BI Embedded Dashboards, and one thing I have found that Dashboard actually has a switch to turn into mobile friednly view:
Check this:
This happens if the size of the Iframe less than 320px!!!
Can anybody from MSFT help on how to make it responsive not only for devices with width less than 320px?
Thanks
Nick
AFAIK, Embedded Power BI dashboards won't auto fit the resolution to have a mobile friendly layout. As a workaround, in Javascript code, you can detect the screen resolution and then determine whether embedding in "fitToWidth" or "oneColumn".
var config = {
type: 'dashboard',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
//pageView: "fitToWidth",
pageView: "oneColumn",
id: embedDashboardId
};
OneColumn(left) VS fitToWidth(right).
hello @Eric_Zhang
A question,
If OneColumn is determined by small screen resolution, who determines the position of the graphics? Does it do it automatically or do you have to design something in advance?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |