Build Interactive Analytics using Power BI

Post on 09-Jan-2017

843 views 0 download

Transcript of Build Interactive Analytics using Power BI

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

Session Objectives & TakeawaysPower BI platform capabilitiesWorking with Data in Power BIPower 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

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

DEMO

Power BI Web demo - Retail Analysis Sample

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.

DEMO

Creating Power BI dashboard from Google Analytics

Platform Capabilities Schedule Data Refresh:

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

Platform Capabilities - Scheduling

Platform Capabilities - Sharing Publish Reports:

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

Sharing dashboard to other colleagues

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.

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

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.

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

How to create a workspace

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.

DEMO

Using Power BI Embedded in ASP.NET MVC application

Thank you Check out my blog for Power BI articles:

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