Power Bi and Power Bi Embedded for .Net Developers

Preview:

Citation preview

Power BI for .NET DevelopersHEATHER SHAPIRO

TECHNICAL EVANGELIST, MICROSOFT

@microheather

Power BI at a GlancePower BI is a suite of cloud-based business analytics tools to analyze data and share insights. Monitor your business and get answers quickly with rich dashboards available on every device.

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

5,000,000+

210+

200,000+

Power BI: experience your data

146.03K145.84K145.96K146.06K 40.08K38.84K39.99K40.33K

Live dashboards & reports

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Mobile Apps

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Pre-built solutions include dashboards, reports, and data models available out-of-the-box for SaaS services or built by your organization

Get started quickly

Experience your data in new ways

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Seamless integration with O365

Why Power BI?View all your data, whatever it is

Be informed: always in real time

Ask questions, get answers

End chaos: everyone on the same page

Make data –driven decisions, from anywhere

Share insights on websites or blogs

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Power BI EmbeddedAn easy way to embed Power BI reports in web

and mobile apps

No logins are required or o365 AD accounts

A new feature that has been announced in BUILD 2016

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Embedded ScenariosFully interactive reports that were authored in the Power BI Desktop can be embedded within your own application using a new application token authentication model.

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Embedded ScenariosIndependent software vendors and customers building customer facing applications can use the Power BI Embedded service, and the Power BI SDK, to embed interactive reports.

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Embedded ScenariosAs a developer, you can use the Power BI visualization framework to create custom visualizations that can be used in your own app.

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

How are they different?

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

What are the differences Integrating Power BI requires the following:

AAD app registration

requires users to login with o365 credentials

Blog post: http://www.mostafaelzoghbi.com/2016/04/integrate-power-bi-report-into-app.html

Power BI Embedded: No login is needed for Users

No AAD app registration

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

@microheatherHEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

HOW IT WORKS

Authenticating and Authorization The Power BI Embedded service uses Keys and App

Tokens for authentication and authorization, instead of explicit end-user authentication.

Two Ways to authenticate Keys: From Power BI Embedded in Azure Portal (Access Keys)

App Token: are used for all embedding requests. They’re designed to run client-side so they’re restricted to a single report. App tokens are JWT (JSON Web Token) that is signed by one of your keys.

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

Getting Started Azure subscription

Provision a “Power BI Workspace Collection” from Azure portal

Create a workspace into Power BI workspace collection

Import a (.pbix) report file into a workspace

Embed a report with one html tag into your application

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

HOW TO CREATE A WORKSPACE

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

aka.ms/powerBiEmbedExampleSteps

ExampleDownload link: aka.ms/PowerBiEmbedExample

Run ProvisionSample console app: Step #5: To create a workspace

Step #6: To import pbix report file into a workspace

Step #7: To update a connection string for imported report

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

DEMO

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

RESOURCES Blog Posts by Coworkers:

mostafaelzoghbi.com/2016/04/integrate-power-bi-report-into-app.html

Power BI Embedded homepage: azure.microsoft.com/en-us/services/power-bi-embedded/

Ch9 Video Series: channel9.msdn.com/Blogs/MostafaElzoghbi/Power-BI-Embedded-

Explained-Part-1

Power BI Embedded Example Steps: aka.ms/powerBiEmbedExamplesteps

Power BI Embedded Example Github: aka.ms/PowerBiEmbedExample

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

CONTACT ME Email: hshapiro@Microsoft.com

Twitter @microheather

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT

@microheather

THANKS!

Recommended