Introducing Power BI Embedded

20
Introducing Power BI Embedded MOSTAFA ELZOGHBI SR. TECHNICAL EVANGELIST – MICROSOFT @MOSTAFAELZOGHBI

Transcript of Introducing Power BI Embedded

Page 1: Introducing Power BI Embedded

Introducing Power BI EmbeddedMOSTAFA ELZOGHBISR. TECHNICAL EVANGELIST – MICROSOFT@MOSTAFAELZOGHBI

Page 2: Introducing Power BI Embedded

Session Objectives & Takeaways

Power BI platform capabilitiesPower BI Embedded

Page 3: Introducing Power BI Embedded

Power BI at glance Power 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.

Why Power BI? All your data, whatever it is Be informed: always 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

Page 4: Introducing Power BI Embedded

Power BI Tools Tools:

Power BI on the web (powerbi.microsoft.com) Power BI Desktop (Free) Power BI Mobile apps (iOS, Android, Win10) -- Free Pin Reporting Services 2016 report into a PBI Dashboards Power BI Gateway: connect to on-premise data Package Power BI components for re-usability through content packs

Page 5: Introducing Power BI Embedded

Working with Data

You can connect Power BI Reports to: Content Packs created by your organization. Online Services such as: Google Analytics, Salesforce, VSTS, CRM

Online, Zuora, Stripe, SendGrid…etc. Files: CSV, Excel, Power BI Desktop, workbooks. Databases: DBs such as Azure SQL.

Page 6: Introducing Power BI Embedded

Platform Capabilities Schedule Data Refresh:

Ad hoc: by clicking on Refresh Now Set up schedule: by clicking on Schedule Refresh

Page 7: Introducing Power BI Embedded

Platform Capabilities –Scheduling

Page 8: Introducing Power BI Embedded

Platform Capabilities - Sharing Publish Reports:

Publish to web: creates embed code to external users/customers

Link iframe

Sharing dashboard to other colleagues

Page 9: Introducing Power BI Embedded

DEMO

Creating Power BI dashboard from Google Analytics

Page 10: Introducing Power BI Embedded

What is Power BI Embedded An 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 Here are some scenarios for using Power BI Embedded in your

applications. Fully interactive reports that were authored in the Power BI Desktop can be

embedded within your own application using a new application token authentication model.

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

As a developer, you can use the Power BI visualization framework to create custom visualizations that can be used in your own app. See Extend Power BI with custom visuals.

Page 11: Introducing Power BI Embedded

How Power BI Embedded is different

This feature is different than integrating Power BI in apps because of the following: 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

Page 12: Introducing Power BI Embedded

Power BI Embedded basic concepts

You need to have an Azure subscription You need to provision “Power BI Workspace Collection” to

provision from Azure portal. You need to create a workspace into Power BI workspace

collection. You need to import a (.pbix) report file into a workspace. Embed a report with one html tag into your application.

Page 13: Introducing Power BI Embedded

How PBIE works

Microsoft Power BI Embedded Conceptual Model

Page 14: Introducing Power BI Embedded

DEMO

Provisioning Power BI Embedded in Azure

Page 15: Introducing Power BI Embedded

How to create a workspace Microsoft has created a utility to allow you create a workspace into

Azure Power BI workspace collection This tool is available in GitHub. Download link:

https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/

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

Page 16: Introducing Power BI Embedded

How to create a workspace

Provision Sample is a console app to easily import and manage workspaces in your PBI workspace collection in Azure.

Page 17: Introducing Power BI Embedded

Understanding Authenticating & Authorizing in PBIE 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.

Page 18: Introducing Power BI Embedded

DEMO

Using Power BI Embedded in ASP.NET MVC application

Page 19: Introducing Power BI Embedded

References Demo source code in GitHub Repo: https://github.com/melzoghbi

Power BI Embedded Step by step article:http://www.mostafaelzoghbi.com/2016/04/power-bi-embedded-step-by-step.html

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

Ch9 video serieshttps://channel9.msdn.com/Blogs/MostafaElzoghbi/Power-BI-Embedded-Explained-Part-1

Page 20: Introducing Power BI Embedded

Thank you Check out my blog for Power BI articles:

http://mostafa.rocks Follow me on Twitter: @MostafaElzoghbi