This document discusses building interactive analytics using Power BI. It provides an overview of Power BI capabilities including connecting to various data sources, scheduling data refreshes, and sharing dashboards. It also covers Power BI Embedded which allows embedding Power BI reports in web and mobile apps without requiring user logins. The document includes demonstrations of the Power BI web service, creating a dashboard from Google Analytics data, and using Power BI Embedded in an ASP.NET MVC application.
2. Session Objectives & Takeaways
Power BI platform capabilities
Working with Data in Power BI
Power BI Embedded
3. 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
4. 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
6. 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.
10. Platform Capabilities - Sharing
Publish Reports:
Publish to web: creates embed code to external users/customers
Link
iframe
Sharing dashboard to other colleagues
11. 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.
12. 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
13. 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.
14. 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
16. 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.
18. References
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 series
https://channel9.msdn.com/Blogs/MostafaElzoghbi/Power-BI-Embedded-
Explained-Part-1
Demo source code in GitHub Repo:
https://github.com/melzoghbi/PowerBIEmbeddedWebForms
19. Thank you
Check out my blog for Power BI articles:
www.MostafaElzoghbi.com
Follow me on Twitter: @MostafaElzoghbi
Hinweis der Redaktion
Session Title: BUILD INTERACTIVE ANALYTICS USING POWERBI , Url: https://2016.syntaxcon.com/session/build-interactive-analytics-using-powerbi/
Session Description:
The talk will cover how to build interactive analytics, dashboards and reports in PowerBI. Using multiple data sources, synchronization schedule and sharing capabilities in PowerBI. The PowerBI web and client tool provides sophisticated tools for non-technical users to build interactive dashboards.
The session will be demo driven and will cover different use cases that use multiple data formats and sources.
-- PowerBI client tool & web capabilities
-- Interactive Dashboards and Reporting.
-- Platform capabilities such as sharing, scheduling and more.
Power BI Capabilities:
I will taking about PBI capabilities of building interactive reports and dashboards, platform scheduling and sharing capabilities.
Working with data either online data source or on-premise, highlighting connecting to content packs, gateways.
Power BI embedded (preview) feature in azure that allows ISVs to integrate PBI reports into their apps.
Power BI features:
https://powerbi.microsoft.com/en-us/features/
** Power BI Apps:
https://powerbi.microsoft.com/en-us/mobile/
** Power BI Gateway:
https://powerbi.microsoft.com/en-us/gateway/
** How to pin Reporting Services Reports (SSRS) into PBI:
https://msdn.microsoft.com/en-us/library/mt604784.aspx
Retail analysis sample:
Workspace
3 main components: datasets, reports, dashboards
Downloads menu
Get Data: to connect to data sources
Data Source options: Refresh vs. schedule refresh
Report Options: Pin, expand, download data
Content Packs: Package up and share your own dashboards, reports, Excel workbooks, and datasets with your coworkers. Do you regularly distribute reports by email to your team? Try this instead: Create dashboards and reports in Power BI and publish them as a content pack to your team. Content packs are easy to find — they are all in the content pack library.
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-organizational-content-packs-introduction/
Retail analysis sample:
Click on Get Data
Select Services
Look for Google Analytics
4) Click on Connect
5) Select oAuth2 and then click on sign In
6) Sign in to your google analytics account
7) Allow Power BI app to access google analytics data.
8) Enter Account Name, Property, View: my blog
9) Click on Import
10) Google Analytics dashboard has been created into your workspace.