androidpowerbipowerbi-embedded

How to add Power BI reports in Android native app in 2019


I am developing an Android application in which I should show Power BI reports and tiles with drill down.

I Googled but still I am not able to find a proper documentation for same.

I understand that there is a Rest API, but I cant find any documentation on exactly what happens after getting the data. I have seen other example/questions where they embed a web inside the app to show a dashboard, but I havent been able to see a full example/video working.

Please help, thanks in advance.


Solution

  • Here is a working example for you. It shows how to embed Power BI elements in a native desktop application. For android it's basically the same - it loads in a web browser in your app.

    First you need to know that there are two modes for embedding Power BI - user owns data and app owns data. With the first mode, when embedding, the user will authenticate itself using it's own Power BI Pro account, i.e. each of your users needs Power BI Pro license. With the later one, you need only one "master account", which will be used for authentication. The differences in the implementation aren't tremendous, so I will describe app owns data.

    You need to do the following: