Forum Discussion
Is it possible to Embedded Powers BI Reports into a WinForms application?
- 10 years ago
Thank you!
Do you know some project example?
- 10 years ago
I know someone did it before but I am not aware of any samples,
BTW, here is a tutorial I made some time ago
RE: BTW, here is a tutorial I made some time ago
This is always good to know...
I have actually managed to run Power BI Embedded reports in a lot of scenarios ranging from
static HTML, Asp.Net MVC 5 Razor, Angular 4 Component to even Asp.Net Core 1.1 using custom
TagHelper. So I thought that logically...if any of these coding approaches supports iFrame then it should
allow me to embed Power BI Embedded reports. I said it should... For example, WPF has a WebBrowser
control though I found it a bit limited... At this stage in WPF, I could see the Power BI logo
'pumping' in a white screen but that was about it...
All in all it's not just a matter of putting an iFrame in a page, we still need to provide a reusable
mechanism which will allow rendering iFrame in combination with proper provisioned
data [embedToken, enbedUrl, reportId,... ] in order to display the requested reports
or in some cases dashboards.
In what I call the 'classic' Power BI Embedded - Workspace Collections - Workspace model 'topology',
you would need to first create a Workspace Collection on your Azure Portal account then get Access Key.
From there, you could either chose the C# Provisionsample console application. I use Visual Studio Code a lot,
so I prefer running the PowerBI-CLI interface in Powershell in Integrated Terminal panel.
Overall everything went pretty pretty straight forward and provision datas could be applicable in all cases.
As you may already be aware, Microsoft Team has announced significant changes about Power BI Embedded convergence
with Power BI Service API. Therefore the 'classic' Power BI Embedded model may be no longer applicable after a while.
Microsoft Team said existing Power BI Embedded project would keep running though it is strongly suggested to start migrating...
I followed Adam Saxton [aka Guy in a Cube] video series and managed to get what I wanted through the integrate-dashboard-web-app [after registering my app...] We'll agree that the whole process is somehow a bit different...
For sake of testing simplicity I just reproduced the data in a mock data sample and managed to make it run. Nothing pretty fancy.
What would be interesting would be being able to hook the same 'integrate-dashboard-web-app' process in our own application or service.
If you have any ideas or comments, or suggestions, please be my guest...
Regards
- prokurors9 years ago
Advocate III
BTW. Just received information (here in power bi community) that power bi embedded for existing customers will continue to work for at least a year.
- MawashiKid9 years ago
Resolver II
Yes indeed... I also happened to find a bit more info on what to expect on June 1st... https://powerbi.microsoft.com/en-us/documentation/powerbi-extended-pro-trial/ 😉👍 - Anonymous6 years agoNot applicable
As I understand there is no more way to Embed PowerBi into Windows Forms using WebBrowser?