Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in BI by (11.1k points)
How can I embed an Power Bi dashboard on a webpage and is there anyway to switch mobile view when accessed from the mobile device?

1 Answer

0 votes
by (22.5k points)
edited by

Use the following code

const newSettings = {
    layoutType: models.LayoutType.MobileLandscape
};
report.updateSettings(newSettings);

Thinking of learning Power BI? Here is the opportunity provided by Intellipaat to earn a certification in Power BI Course!

Also, check out our YouTube video to know the data visualization basics and best practices with Power BI

Related questions

0 votes
1 answer
0 votes
1 answer
asked Mar 6, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
asked Feb 8, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
asked Jan 14, 2021 in BI by Chris (11.1k points)

Browse Categories

...