The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have been able to embed Power BI Report into Web apps without a problem, but have yet to discover how to use it within a c# winforms application. I'm able to get all the relevant info like embed codes, url's etc... How would I use the Javascript API to embed reports into my Winforms c# app?
I appreciate the direction.
Paul
Solved! Go to Solution.
You need a browser that understands HTML to embed a Power BI Report or Dashboard. In Winforms you will need a control that allows you to embed a browser within a form. I would stay away from the WebBrowser control that comes with WinForms because it uses IE and introduces a bunch of compatibility issues. I have never tired this approach, but I would start with a better winforms control such as CefSharp or DotNetBrowser which allow you to surface an HTML-based UI using a more modern browser.
Have you tried this approach?
You need a browser that understands HTML to embed a Power BI Report or Dashboard. In Winforms you will need a control that allows you to embed a browser within a form. I would stay away from the WebBrowser control that comes with WinForms because it uses IE and introduces a bunch of compatibility issues. I have never tired this approach, but I would start with a better winforms control such as CefSharp or DotNetBrowser which allow you to surface an HTML-based UI using a more modern browser.
Have you tried this approach?
Thanks Ted,
I have tried the built in Web Browser control with little success, I will try an alternative and advise. I just wanted to start my users easily on a desktop app without going the MVC route right off the bat. The java script API does a great job with a reportcontainer
I- frame... Appreciate the speedy response.
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
1 |
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |