Forum Discussion
How to embed some Power BI Tiles in a Rails App?
Hi,
I'm struggling with this since a week... I have tried so many things, read so many documentations (walkthrough), I can't find any solutions and I have lost the clarity. I really need your help.
- I have created a simple Rails app.
- I have a Power BI account and a Azure account.
- I'm using an example set of data on PowerBI (Retail Analysis Sample).
I want my users to signin on my app (through devise), then access to some pages and see embedded PowerBI Tiles (or report, or dashboard maybe). Then I want them to be able to filter the results. A client-side example is https://microsoft.github.io/PowerBI-JavaScript/demo/filters.html.
I want to be able to do the same.
I'm lost with all the client id, secret, ressource uri, ressource url, ...
What solution/walkthrough must I use?
Thank you so much for your time,
François
11 Replies
- Greg_DecklerCommunity Champion
Carefully?
Seriously though, seems like this article should get you there:
https://powerbi.microsoft.com/en-us/blog/intro-pbi-js-api/
I believe a prerequisite to this is Power BI Embedded although I may be confused on that point.
https://azure.microsoft.com/en-us/services/power-bi-embedded/
I used this walkthrough when I did it:
https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/
- fro_ooRegular Visitor
Thank you for your answer.
Carefully? Yes :-)
Well, the JS API is not what I'm struggling with. It's the last thing to check on my todo. And I don't want to create a .Net project, but a Rails one. The basic process are the same, I understand that.
Here's a bunch of questions, thank you for your expertise & advices :
#1
Do I need to register an application for Power BI with https://dev.powerbi.com/apps?type=web ?
(I've already done that)
#2
Do I need to create an ActiveDirectory (and a Azure User) ? Then add an application wich authorize Power BI Service?
(I've already done that)
#3
Do I need to create a Workspace for Power BI Embedded here https://portal.azure.com/#create/Microsoft.PowerBI ?
To me it seems there's to many ways to implement Power BI Embedded in a web app. I am lost.
Thank you
- Greg_DecklerCommunity Champion
My understanding of the process and how I have gotten it to work, yes, you need to do #3. The sample application walkthrough provides a .NET command-line application and instructions for registering your Power BI Embedded instance and setting up and configuring it, etc. At least, that's what I remember.