Skip to main content

Power BI

Needs Votes

API to expose phone view from reports and dashboards when embedding

Vote (3) Share
Marc Solomon's profile image

Marc Solomon on 18 May 2017 05:06:11

As an ISV embedding Power BI into my applications, including mobile application, I would like the ability to select Mobile view as view type.
At present it is possible to select the following view types on Dashboards only - oneColumn, fitToWidth, actualSize but it would be nice if I could return the Mobile view which we have designed.
This would be for both Dashboards and Reports.

Comments (1)
Marc Solomon's profile image Profile Picture

Marc Solomon on 05 Jul 2020 22:48:57

RE: API to expose phone view from reports and dashboards when embedding

The github with Dashboard showing the relevant code (line 95) is https://github.com/Microsoft/PowerBI-JavaScript/blob/master/src/dashboard.ts