Richard Thompson
Richard Thompson

Reputation: 404

Embedding Power Bi into iOS application

Has anyone managed to embed power bi charts directly into an iOS application. For example to call a chart and embed it into a view controller? Is this even possible?

Upvotes: 1

Views: 3592

Answers (2)

RBreuer
RBreuer

Reputation: 1391

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile

You can embed Power BI Embedded artifacts (Report, Dashboard, Tile, Q&A) in any webview based environment, including iOS Webview. You can either use a pre-set mobile layout and load it via the JS SDK in the config, or use custom layout: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Custom-Layout

For a single chart\visual you can use: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Single-Visual

Upvotes: 1

David Rushton
David Rushton

Reputation: 5030

Power BI reports can be embedded into a web page, which you can display from within your app.

From Power BI, click publish to web and then request an embed code.

Don't forget, if you don't like this approach you can always request a new feature.

EDIT

The Power BI developer site includes instructions for integrating a dashboard into your app. This method uses the Power BI Rest API to auth via Azure Active Directory and OAuth 2.0.

This approach has some limitations:

  • The end users who access the embedded dashboards must have Power BI accounts and the dashboards should be shared with them.

  • Currently Q&A is not supported in embedded dashboards.

  • As a temporary limitation, when sharing a dashboard with security groups, user have to first access the dashboards in PowerBI.com before they can see it embedded.

Upvotes: 0

Related Questions