Build Interactive Analytics using Power BI

19
Build Interactive Analytics using Power BI MOSTAFA ELZOGHBI SR. TECHNICAL EVANGELIST – MICROSOFT @MOSTAFAELZOGHBI

Transcript of Build Interactive Analytics using Power BI

Page 1: Build Interactive Analytics using Power BI

Build Interactive Analytics using Power BIMOSTAFA ELZOGHBISR. TECHNICAL EVANGELIST – MICROSOFT@MOSTAFAELZOGHBI

Page 2: Build Interactive Analytics using Power BI

Session Objectives & TakeawaysPower BI platform capabilitiesWorking with Data in Power BIPower BI Embedded

Page 3: Build Interactive Analytics using Power BI

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: Build Interactive Analytics using Power BI

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: Build Interactive Analytics using Power BI

DEMO

Power BI Web demo - Retail Analysis Sample

Page 6: Build Interactive Analytics using Power BI

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 7: Build Interactive Analytics using Power BI

DEMO

Creating Power BI dashboard from Google Analytics

Page 8: Build Interactive Analytics using Power BI

Platform Capabilities Schedule Data Refresh:

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

Page 9: Build Interactive Analytics using Power BI

Platform Capabilities - Scheduling

Page 10: Build Interactive Analytics using Power BI

Platform Capabilities - Sharing Publish Reports:

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

Sharing dashboard to other colleagues

Page 11: Build Interactive Analytics using Power BI

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 Power BI Embedded Feature is still in Preview – April 2016 Long awaited feature for ISVs and developers to integrate the

powerful features of Power BI into their custom apps.

Page 12: Build Interactive Analytics using Power BI

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 13: Build Interactive Analytics using Power BI

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 14: Build Interactive Analytics using Power BI

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

Page 15: Build Interactive Analytics using Power BI

How to create a workspace

Page 16: Build Interactive Analytics using Power BI

Understanding App Tokens

Application authentication tokens (App Tokens) are used to authenticate against Power BI Embedded.

There are three types of app tokens: Provisioning Token: used to provision a workspace into a workspace

collection. Development Token: used when making calls directory to PBI REST

APIs. Embedding Tokens: used when making calls to render a report in

the iframe.

Page 17: Build Interactive Analytics using Power BI

DEMO

Using Power BI Embedded in ASP.NET MVC application

Page 19: Build Interactive Analytics using Power BI

Thank you Check out my blog for Power BI articles:

www.MostafaElzoghbi.com Follow me on Twitter: @MostafaElzoghbi