customizing in power bi - gerhard brueckl's bi...
TRANSCRIPT
![Page 1: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/1.jpg)
Customizing in Power BIGerhard Brueckl
![Page 2: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/2.jpg)
About Me
Gerhard Brueckl
From Austria
Working with Microsoft BI since 2006
Mainly focused on Analytics and Reporting
Analysis Services
Power BI / Azure
Advanced Analytics and Machine Learning
[email protected]@gbrueckl blog.gbrueckl.at
http://www.pmone.com
![Page 3: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/3.jpg)
Agenda
• What is Power BI?
• General Architecture
• APIs
• R-Integration
• Custom Visuals
• Content Packs
![Page 4: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/4.jpg)
What is Power BI
• Suite of Business Analytics Tools
• Analyze/Explore Data
• Build Reports
• Share Insights
• Web Service
• Based on Windows Azure
![Page 5: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/5.jpg)
Collaboration Architecture
Power BI Web Service
Power BI Desktop
Build
Consume
![Page 6: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/6.jpg)
Data Architecture
Power BI Visualization
Enterprise
Gateway
CSV
Personal
Gateway
On-Prem Infrastructure
…
Power BI Models
Personal Computer
Web Services
![Page 7: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/7.jpg)
Office 365
• User Administration• Maintain Users
• Maintain Groups
• Licensing• Assign Pro Licenses
• Azure Active Directory• Organizational Accounts
![Page 8: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/8.jpg)
Azure Active Directory
• Users/Groups
• Sync On-Prem AD
• SSAS Connectivity
• Applications
• Access to PowerBI APIs
![Page 9: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/9.jpg)
APIs
![Page 10: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/10.jpg)
APIs
• REST
• Any Language
• OAuth2 / Azure AD
![Page 11: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/11.jpg)
5
3
Authentication (WebApp)
Registered ApplicationsWebApp
1 2
3
AuthCode
Token
4Token + Request
Power BI Content6
2
![Page 12: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/12.jpg)
APIs
• Datasets• Tables
• Rows
• Groups
• Dashboards (Preview)• Tiles
• Reports (Preview)
• Imports (Preview)
http://docs.powerbi.apiary.io/#
https://msdn.microsoft.com/en-us/library/mt147898.aspx
![Page 13: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/13.jpg)
API Scenarios
• Streaming• Add Rows
• Clear Rows
• Integrate with external App• Reports
• Tiles
• (Dashboards not yet)
• Automated Imports/Uploads
![Page 14: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/14.jpg)
Power BI Client
• APIARY – interactive online client
• http://docs.powerbi.apiary.io/#
• C# Wrapper for Power BI
![Page 15: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/15.jpg)
R-Integration
![Page 16: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/16.jpg)
R-Integration
• Preview/Beta
• As Datasource
• Online Refresh with Personal Gateway
• For Visualization
![Page 17: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/17.jpg)
R-Integration - DataSources
• R-DataFrames are exposed
• Multiple ResultSets per Script
• Script is duplicated!
• Hard to maintain
Use “Base”-ResultSet and reference it
• DataFrames must be “regular”
![Page 18: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/18.jpg)
R-Integration - Visualization
• Transforms input to a DataFrame
• Visualizes the LAST plot
• Automatically Refreshed• Slicers
• Highlighting
• No Filter itself!
![Page 19: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/19.jpg)
Custom Visuals
![Page 20: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/20.jpg)
![Page 21: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/21.jpg)
Custom Visuals
• TypeScript / JavaScript
• Gallery
• Power BI Service & Desktop
• No Pro-Plan required!
• IVisuals Interface
![Page 22: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/22.jpg)
Custom Visuals – Lifecycle
init() update() destroy()
![Page 23: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/23.jpg)
TypeScript
• Microsoft
• Superset of JavaScript
• Following ECMAScript Standards
• Integration with Visual Studio
• Support for D3.js, jQuery, …
![Page 24: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/24.jpg)
Content Packs
![Page 25: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/25.jpg)
What are Content Packs
Set of Power BI Objects
Organizational Content
Packs
Microsoft Partner
Content Packs
Data Integration Static
Data Model Static
Business Logic Static
Reports Customizable
Dashboards Customizable
![Page 26: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/26.jpg)
Content Packs
Microsoft Partner
Content Packs
Organizational
Content Packs
Gallery Public, Read-Only Private
Sharing Free for Everyone
• People
• Groups
• Organization
Required Plan Free Pro
Security Fixed/Creator
Fixed/Creator
EXCEPTION:
SSAS on-prem Models
![Page 27: Customizing in Power BI - Gerhard Brueckl's BI Blogfiles.gbrueckl.at/blog/Sessions/German_SQL_Server_Conference_201… · About Me Gerhard Brueckl From Austria Working with Microsoft](https://reader035.vdocument.in/reader035/viewer/2022071002/5fbecc3f80deb06693235357/html5/thumbnails/27.jpg)