SlideShare a Scribd company logo
Best practices for Power BI on implementation
and monitoring
SQL Bits 2018
Who am I?
• Bent Nissen Pedersen, Denmark
• Business Analytics Architect, Kapacity
• @SQLBent
• bnp@kapacity.dk
• BI for 10+ years
• www.biblog.eu
Agenda
• Monitoring
• Bottlenecks
• Components
• Direct-query
• Live Connection
• Import
• What should i do to fix
performance?
• What are the report developers
doing wrong?
Three types of monitoring
Usage Performance Improvement
Three types of monitoring
Usage Performance Improvement
Power BI usage
Consumption
• Reports
• Dashboards
Events & Activities
• Gateway setup
• Workspace Creation
Usage Performance Improvement
Demo of usage & events
Usage Performance Improvement
Demo of usage & events
... Logging is disabled per default
Usage Performance Improvement
Three types of monitoring
Usage Performance Improvement
Areas
Report Layout
On-Premises gateway
Analysis Services (On-premises)
Azure Analysis Services
Network
Power BI Premium
Usage Performance Improvement
Layout and reporting
Usage Performance Improvement
Number of items Interactions Many items
Usage Performance Improvement
Breakdown of Power BI request
How queries are handled and executed
Send request
Process
request and
construct
query
Query travel
time to data
source
Query is
evaluated and
result set is
returned
Result set
travel time
Result set
processed and
HTML is
generated
HTML travel
time to end
user
Network related Power BI related Data source related
Usage Performance Improvement
Breakdown of Power BI request
How queries are handled and executed
Send request
Process
request and
construct
query
Query travel
time to data
source
Query is
evaluated and
result set is
returned
Result set
travel time
Result set
processed and
HTML is
generated
HTML travel
time to end
user
Network related Power BI related Data source related
Usage Performance Improvement
Understanding live connections
Using the gateway
Microsoft Cloud
On-premise Datacenter
User opens report on PowerBI.com
Power BI Enterprise Gateway (PBI EG) collects request to query on-prem SSAS
PBI EG connects to SSAS using service account.
Connectionstring includes ”EffectiveUserName=user@domain.com”
Query is executed with required security context
1
6
2
5 4
3
1
3
2
4
6
5 PBI EG relays the result-sset to PBI
PBI returns rendered visualizations to end-user
Usage Performance Improvement
Data source latency
Direct query through on-premises gateway
SSAS MD
SQL Profiler
xEvents
SSAS Tabular
DAX Studio
SQL Profiler
VertiPaqAnalyzer
Tabular Editor
xEvents
SQL
SQL Profiler
SQL – Column store indexes
Usage Performance Improvement
Microsoft Cloud
On-premise Datacenter
Schedule triggers update of Power BI file with imported data
Power BI Enterprise Gateway (PBI EG) collects request and starts meshup
File are loaded, transformed and compressed for each dataset
Meshup result is sent to PowerBI backend
2
4
3
1
3
2
4
1
Understanding data import
Using the gateway
Usage Performance Improvement
Monitoring
What to do about your gateway ?
Ressources
Monitoring of CPU and memory is
recommend to be done using
performance counters
Above 80% utilization of either memory
or CPU usually cause decreased
performance
Workloads
Monitoring the workload should happe
using Power BI specific performance
counter.
Split live query and data import effort to
different gateways and change
concurrent mesh-up executions
Availability
Ensure that multiple gateways are setup
to support high Availability in a cluster
Monitor setup and ensure that at least
one gateway is available for each
cluster.
Usage Performance Improvement
Microsoft Cloud
1
4
3
2
Understanding live connections
Using Azure Analysis services
User opens report on PowerBI.com
PBI EG connects to SSAS using service account.
Connectionstring includes ”EffectiveUserName=user@domain.com”
Query is executed with required security context and returns data to PBI1
2
4
4 PBI returns rendered visualizations to end-user
Azure Analysis Services
Monitoring
Usage Performance Improvement
Azure Analysis Services
Log Metrics
• Meshup
• Connections
• Memory
• I/O
Usage Performance Improvement
Engine
• xEvents
Service
• Start, Stop...
• Create gateway
... And setup alerts
Demo of alerts
Usage Performance Improvement
Usage Performance Improvement
Monitoring
What to do about your Azure AS?
Ressources & workload
Use metrics to monitor and alert on
situations where ressources are sparse
or not avaialble.
Scale out or up to support requirements.
Availability
High availability is not directly possible
since no automated sync can be in
place between regions or datacenters.
An alias can be set up to avoid changes
of connections.
Usage Performance Improvement
Network
What and how?
Mitigate with ExpressRoute Premium or by rethinking architecture
Focus first on latency Data Source <-> Power BI
One client request can lead to multiple queries
Potentially move data source to VM in same Azure region as Power BI Backend cluster
Data Source ClientPower BI
Data Source ClientPower BI
Usage Performance Improvement
Power BI architecture
How queries are handled and executed
Requests from one report page
Query execution time factors
• Model & measure complexity
• Tables relations
• Security
• Number of users
Demo of events
Usage Performance Improvement
What is Power BI Premium?
Usage Performance Improvement
Power BI PremiumPower BI Cluster
PBI Tentant 1
PBI Tentant 2
PBI Tentant 3
PBI Tentant 4
Personal
Workspace
Workspace
Workspace
Workspace
Workspace
Personal
Workspace
Personal
Workspace
Workspace
Workspace
Workspace
Power BI Premium
Log Metrics
Usage Performance Improvement
CPU Usage
As for tabular models this is used for
mashup of data and query execution.
Memory
Models are loaded into memory and
trashed whenever there is not enough
memory.
Direct Query
Limitations apply to number of live
connection queries per second.
P1 have a combined limit of 30 per
second for cloud and on-premises.
... Setup extra capacity
Three types of monitoring
Usage Performance Improvement
Usage Performance Improvement
Power BI in the Enterprise
Speed Monitoring and
quality surveillance
Power BI
(Self-service)
Exploration
Flexibility
Power BI
(Enterprise)
Consolidated
business logic
Training and support
Documentation
Governance
Usage Performance Improvement
Include admins
Ensure that the super users get use to
include administors in the setup
Monitor success
(and failure)
Engage with the owners of the most
used reporting content to ensure
lifecycle and have it lifted to the
enterprise platform.
Slow reports might be improved and
optimized to reduce performance
impact.
Gateways
Setup, update and monitor gateways for
users to utilize new functionality and
improved mashup.
Governance
Usage Performance Improvement
Layout
What not to do; or how you improve
Performance
You know how to debug and what to look
into.
0. Monitoring
1. Gateway load
2. Data source performance
3. Network
4. Layout
Improvements
Considerations for improving your
governance and setup to embrace
Power BI.
Question time
Ressources
• Power BI documentation
• Power BI Blog
• Power BI Security Whitepaper
• Demos.microsoft.com
• Power BI Template for Power BI API (Prathy)
• Analysis Services Performance whitepaper
Just like Jimi Hendrix …
We love to get feedback
Please complete the session feedback forms
SQLBits - It's all about the community...
Please visit Community Corner, we are trying this year to get more
people to learn about the SQL Community, equally if you would be
happy to visit the community corner we’d really appreciate it.
Ad

More Related Content

What's hot (20)

PowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint ServerPowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint Server
SPC Adriatics
 
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Vishal Pawar
 
Microsoft power bi training courses
Microsoft power bi training coursesMicrosoft power bi training courses
Microsoft power bi training courses
katozesiro
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisions
VIVEK GURURANI
 
Power BI Report Server: a Deep Dive for PBIUG Vancouver
Power BI Report Server: a Deep Dive for PBIUG VancouverPower BI Report Server: a Deep Dive for PBIUG Vancouver
Power BI Report Server: a Deep Dive for PBIUG Vancouver
Luca Gualtieri
 
Power BI: Types of gateways in Power BI
Power BI: Types of gateways in Power BIPower BI: Types of gateways in Power BI
Power BI: Types of gateways in Power BI
Amit Kumar ☁
 
Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Groupby -Power bi dashboard in hour by vishal pawar-Presentation Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Vishal Pawar
 
Power BI Overview, Deployment and Governance
Power BI Overview, Deployment and GovernancePower BI Overview, Deployment and Governance
Power BI Overview, Deployment and Governance
James Serra
 
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Olivier Travers
 
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Vishal Pawar
 
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Patrick Guimonet
 
Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019
Priyanka Khanadali
 
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
Leveraging Microsoft Power BI To Support Enterprise Business IntelligenceLeveraging Microsoft Power BI To Support Enterprise Business Intelligence
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
Rightpoint
 
xRM - as an Evolution of CRM
xRM - as an Evolution of CRMxRM - as an Evolution of CRM
xRM - as an Evolution of CRM
Catherine Eibner
 
Power-BI and SharePoint
Power-BI and SharePointPower-BI and SharePoint
Power-BI and SharePoint
atwork
 
How to Get Lightning Fast Answers with Power BI Q&A and Cortana
How to Get Lightning Fast Answers with Power BI Q&A and CortanaHow to Get Lightning Fast Answers with Power BI Q&A and Cortana
How to Get Lightning Fast Answers with Power BI Q&A and Cortana
Vishal Pawar
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
Don Hyun
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
David J Rosenthal
 
Power BI Reporting & Project Online
Power BI Reporting & Project OnlinePower BI Reporting & Project Online
Power BI Reporting & Project Online
Hari Thapliyal
 
Power BI Architecture
Power BI ArchitecturePower BI Architecture
Power BI Architecture
Arthur Graus
 
PowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint ServerPowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint Server
SPC Adriatics
 
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Power BI Report Server Enterprise Architecture, Tools to Publish reports and ...
Vishal Pawar
 
Microsoft power bi training courses
Microsoft power bi training coursesMicrosoft power bi training courses
Microsoft power bi training courses
katozesiro
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisions
VIVEK GURURANI
 
Power BI Report Server: a Deep Dive for PBIUG Vancouver
Power BI Report Server: a Deep Dive for PBIUG VancouverPower BI Report Server: a Deep Dive for PBIUG Vancouver
Power BI Report Server: a Deep Dive for PBIUG Vancouver
Luca Gualtieri
 
Power BI: Types of gateways in Power BI
Power BI: Types of gateways in Power BIPower BI: Types of gateways in Power BI
Power BI: Types of gateways in Power BI
Amit Kumar ☁
 
Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Groupby -Power bi dashboard in hour by vishal pawar-Presentation Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Groupby -Power bi dashboard in hour by vishal pawar-Presentation
Vishal Pawar
 
Power BI Overview, Deployment and Governance
Power BI Overview, Deployment and GovernancePower BI Overview, Deployment and Governance
Power BI Overview, Deployment and Governance
James Serra
 
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Olivier Travers
 
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Sql Saturday Jacksonville- Power BI Report Server Enterprise Architecture, to...
Vishal Pawar
 
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Office 365 Saturday Europe - Yammer, Office 365, SharePoint (yOS) : hybrid ar...
Patrick Guimonet
 
Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019
Priyanka Khanadali
 
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
Leveraging Microsoft Power BI To Support Enterprise Business IntelligenceLeveraging Microsoft Power BI To Support Enterprise Business Intelligence
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
Rightpoint
 
xRM - as an Evolution of CRM
xRM - as an Evolution of CRMxRM - as an Evolution of CRM
xRM - as an Evolution of CRM
Catherine Eibner
 
Power-BI and SharePoint
Power-BI and SharePointPower-BI and SharePoint
Power-BI and SharePoint
atwork
 
How to Get Lightning Fast Answers with Power BI Q&A and Cortana
How to Get Lightning Fast Answers with Power BI Q&A and CortanaHow to Get Lightning Fast Answers with Power BI Q&A and Cortana
How to Get Lightning Fast Answers with Power BI Q&A and Cortana
Vishal Pawar
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
Don Hyun
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
David J Rosenthal
 
Power BI Reporting & Project Online
Power BI Reporting & Project OnlinePower BI Reporting & Project Online
Power BI Reporting & Project Online
Hari Thapliyal
 
Power BI Architecture
Power BI ArchitecturePower BI Architecture
Power BI Architecture
Arthur Graus
 

Similar to SQL Bits 2018 | Best practices for Power BI on implementation and monitoring (20)

AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
webuploader
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis
 
Service quality monitoring system architecture
Service quality monitoring system architectureService quality monitoring system architecture
Service quality monitoring system architecture
Matsuo Sawahashi
 
5. iED Cloud Services.pdf
5. iED Cloud Services.pdf5. iED Cloud Services.pdf
5. iED Cloud Services.pdf
ssuser905b17
 
J1 - Keynote Data Platform - Rohan Kumar
J1 - Keynote Data Platform - Rohan KumarJ1 - Keynote Data Platform - Rohan Kumar
J1 - Keynote Data Platform - Rohan Kumar
MS Cloud Summit
 
Using standards, open-source and advances in technology to bring down soft co...
Using standards, open-source and advances in technology to bring down soft co...Using standards, open-source and advances in technology to bring down soft co...
Using standards, open-source and advances in technology to bring down soft co...
Infiswift Solutions
 
SCQAA-SF Meeting on May 21 2014
SCQAA-SF Meeting on May 21 2014 SCQAA-SF Meeting on May 21 2014
SCQAA-SF Meeting on May 21 2014
Sujit Ghosh
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
veehikle
 
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Bohdan Maherus
 
Enterprise Deployments & SOA
Enterprise Deployments & SOAEnterprise Deployments & SOA
Enterprise Deployments & SOA
Ambareesh Kulkarni
 
Introducing Elevate Capacity Management
Introducing Elevate Capacity ManagementIntroducing Elevate Capacity Management
Introducing Elevate Capacity Management
Precisely
 
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe NotAre Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
panagenda
 
SQL Server 2014 Faster Insights from Any Data
SQL Server 2014 Faster Insights from Any DataSQL Server 2014 Faster Insights from Any Data
SQL Server 2014 Faster Insights from Any Data
Stéphane Fréchette
 
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
Database Architechs
 
Query Tuning Azure SQL Databases
Query Tuning Azure SQL DatabasesQuery Tuning Azure SQL Databases
Query Tuning Azure SQL Databases
Grant Fritchey
 
Analytics at the Speed of Thought: Actian Express Overview
Analytics at the Speed of Thought: Actian Express Overview Analytics at the Speed of Thought: Actian Express Overview
Analytics at the Speed of Thought: Actian Express Overview
Actian Corporation
 
Azure saturday pn 2018
Azure saturday pn 2018Azure saturday pn 2018
Azure saturday pn 2018
Marco Pozzan
 
Embrace Tableau Innovations
Embrace Tableau InnovationsEmbrace Tableau Innovations
Embrace Tableau Innovations
Wiiisdom
 
What’s New in Athene™ 11
What’s New in Athene™ 11What’s New in Athene™ 11
What’s New in Athene™ 11
Precisely
 
Improving Reporting Performance
Improving Reporting PerformanceImproving Reporting Performance
Improving Reporting Performance
Dhiren Gala
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
webuploader
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis
 
Service quality monitoring system architecture
Service quality monitoring system architectureService quality monitoring system architecture
Service quality monitoring system architecture
Matsuo Sawahashi
 
5. iED Cloud Services.pdf
5. iED Cloud Services.pdf5. iED Cloud Services.pdf
5. iED Cloud Services.pdf
ssuser905b17
 
J1 - Keynote Data Platform - Rohan Kumar
J1 - Keynote Data Platform - Rohan KumarJ1 - Keynote Data Platform - Rohan Kumar
J1 - Keynote Data Platform - Rohan Kumar
MS Cloud Summit
 
Using standards, open-source and advances in technology to bring down soft co...
Using standards, open-source and advances in technology to bring down soft co...Using standards, open-source and advances in technology to bring down soft co...
Using standards, open-source and advances in technology to bring down soft co...
Infiswift Solutions
 
SCQAA-SF Meeting on May 21 2014
SCQAA-SF Meeting on May 21 2014 SCQAA-SF Meeting on May 21 2014
SCQAA-SF Meeting on May 21 2014
Sujit Ghosh
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
veehikle
 
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Power BI On AIR - Melissa Coates: "What You Need to Know to Administer Power BI"
Bohdan Maherus
 
Introducing Elevate Capacity Management
Introducing Elevate Capacity ManagementIntroducing Elevate Capacity Management
Introducing Elevate Capacity Management
Precisely
 
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe NotAre Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
Are Those End-User Hardware Upgrades Necessary Right Now? Maybe Not
panagenda
 
SQL Server 2014 Faster Insights from Any Data
SQL Server 2014 Faster Insights from Any DataSQL Server 2014 Faster Insights from Any Data
SQL Server 2014 Faster Insights from Any Data
Stéphane Fréchette
 
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
Database Architechs
 
Query Tuning Azure SQL Databases
Query Tuning Azure SQL DatabasesQuery Tuning Azure SQL Databases
Query Tuning Azure SQL Databases
Grant Fritchey
 
Analytics at the Speed of Thought: Actian Express Overview
Analytics at the Speed of Thought: Actian Express Overview Analytics at the Speed of Thought: Actian Express Overview
Analytics at the Speed of Thought: Actian Express Overview
Actian Corporation
 
Azure saturday pn 2018
Azure saturday pn 2018Azure saturday pn 2018
Azure saturday pn 2018
Marco Pozzan
 
Embrace Tableau Innovations
Embrace Tableau InnovationsEmbrace Tableau Innovations
Embrace Tableau Innovations
Wiiisdom
 
What’s New in Athene™ 11
What’s New in Athene™ 11What’s New in Athene™ 11
What’s New in Athene™ 11
Precisely
 
Improving Reporting Performance
Improving Reporting PerformanceImproving Reporting Performance
Improving Reporting Performance
Dhiren Gala
 
Ad

Recently uploaded (20)

2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
ThiNgc22
 
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdfBest Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Topvasmm
 
LDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts informationLDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts information
LDM Mia eStudios
 
The Five-Year Plan: A Clear Path to Family Business Succession
The Five-Year Plan: A Clear Path to Family Business SuccessionThe Five-Year Plan: A Clear Path to Family Business Succession
The Five-Year Plan: A Clear Path to Family Business Succession
Craig Toberman
 
Paul Turovsky - A Financial Analyst
Paul Turovsky - A Financial AnalystPaul Turovsky - A Financial Analyst
Paul Turovsky - A Financial Analyst
Paul Turovsky
 
Kiran Flemish - A Dynamic Musician
Kiran  Flemish  -  A   Dynamic  MusicianKiran  Flemish  -  A   Dynamic  Musician
Kiran Flemish - A Dynamic Musician
Kiran Flemish
 
The Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of HatsThe Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of Hats
nimrabilal030
 
presentation SWOT-Analysis-An-Introduction.pptx
presentation SWOT-Analysis-An-Introduction.pptxpresentation SWOT-Analysis-An-Introduction.pptx
presentation SWOT-Analysis-An-Introduction.pptx
asbyGI
 
Unlocking America – Scaling Stateside Your UK Business
Unlocking America – Scaling Stateside Your UK BusinessUnlocking America – Scaling Stateside Your UK Business
Unlocking America – Scaling Stateside Your UK Business
Richard Lucas
 
Treis & Friends One sheet - Portfolio IV
Treis & Friends One sheet - Portfolio IVTreis & Friends One sheet - Portfolio IV
Treis & Friends One sheet - Portfolio IV
aparicioregina7
 
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
alicecarlos1
 
Introduction to MEDDPICC eLearning PDF.pdf
Introduction to MEDDPICC eLearning PDF.pdfIntroduction to MEDDPICC eLearning PDF.pdf
Introduction to MEDDPICC eLearning PDF.pdf
shonkoop
 
Liberal Price To Buy Verified Wise Accounts In 2025.pdf
Liberal Price To Buy Verified Wise Accounts In 2025.pdfLiberal Price To Buy Verified Wise Accounts In 2025.pdf
Liberal Price To Buy Verified Wise Accounts In 2025.pdf
Topvasmm
 
ElizabethMarinoWeek4FinalPresentation.pptx
ElizabethMarinoWeek4FinalPresentation.pptxElizabethMarinoWeek4FinalPresentation.pptx
ElizabethMarinoWeek4FinalPresentation.pptx
LizMarino6
 
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdfBest Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Topvasmm
 
Market Analyst: Insights that Drive Strategy
Market Analyst: Insights that Drive StrategyMarket Analyst: Insights that Drive Strategy
Market Analyst: Insights that Drive Strategy
Nicole Massimi
 
1911 Gold Corporate Presentation May 2025.pdf
1911 Gold Corporate Presentation May 2025.pdf1911 Gold Corporate Presentation May 2025.pdf
1911 Gold Corporate Presentation May 2025.pdf
Shaun Heinrichs
 
Business Processes in Treasury and Risk Management in SAP S/4HANA
Business Processes in Treasury and Risk Management in SAP S/4HANABusiness Processes in Treasury and Risk Management in SAP S/4HANA
Business Processes in Treasury and Risk Management in SAP S/4HANA
Course17
 
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdfNewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdfReasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Topvasmm
 
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
2_English_Vocabulary_In_Use_Pre-Intermediate_Cambridge_-_Fourth_Edition (1).pdf
ThiNgc22
 
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdfBest Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Best Ever Guide To Purchased Verified Wise Accounts ( Personal & Business ).pdf
Topvasmm
 
LDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts informationLDMMIA Bday celebration 2025 Gifts information
LDMMIA Bday celebration 2025 Gifts information
LDM Mia eStudios
 
The Five-Year Plan: A Clear Path to Family Business Succession
The Five-Year Plan: A Clear Path to Family Business SuccessionThe Five-Year Plan: A Clear Path to Family Business Succession
The Five-Year Plan: A Clear Path to Family Business Succession
Craig Toberman
 
Paul Turovsky - A Financial Analyst
Paul Turovsky - A Financial AnalystPaul Turovsky - A Financial Analyst
Paul Turovsky - A Financial Analyst
Paul Turovsky
 
Kiran Flemish - A Dynamic Musician
Kiran  Flemish  -  A   Dynamic  MusicianKiran  Flemish  -  A   Dynamic  Musician
Kiran Flemish - A Dynamic Musician
Kiran Flemish
 
The Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of HatsThe Fascinating World of Hats: A Brief History of Hats
The Fascinating World of Hats: A Brief History of Hats
nimrabilal030
 
presentation SWOT-Analysis-An-Introduction.pptx
presentation SWOT-Analysis-An-Introduction.pptxpresentation SWOT-Analysis-An-Introduction.pptx
presentation SWOT-Analysis-An-Introduction.pptx
asbyGI
 
Unlocking America – Scaling Stateside Your UK Business
Unlocking America – Scaling Stateside Your UK BusinessUnlocking America – Scaling Stateside Your UK Business
Unlocking America – Scaling Stateside Your UK Business
Richard Lucas
 
Treis & Friends One sheet - Portfolio IV
Treis & Friends One sheet - Portfolio IVTreis & Friends One sheet - Portfolio IV
Treis & Friends One sheet - Portfolio IV
aparicioregina7
 
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
72% of Healthcare Organizations Are Expanding Telehealth In 2025—Is Your Bill...
alicecarlos1
 
Introduction to MEDDPICC eLearning PDF.pdf
Introduction to MEDDPICC eLearning PDF.pdfIntroduction to MEDDPICC eLearning PDF.pdf
Introduction to MEDDPICC eLearning PDF.pdf
shonkoop
 
Liberal Price To Buy Verified Wise Accounts In 2025.pdf
Liberal Price To Buy Verified Wise Accounts In 2025.pdfLiberal Price To Buy Verified Wise Accounts In 2025.pdf
Liberal Price To Buy Verified Wise Accounts In 2025.pdf
Topvasmm
 
ElizabethMarinoWeek4FinalPresentation.pptx
ElizabethMarinoWeek4FinalPresentation.pptxElizabethMarinoWeek4FinalPresentation.pptx
ElizabethMarinoWeek4FinalPresentation.pptx
LizMarino6
 
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdfBest Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Best Ever Platform To Buy Verified Wise Accounts In 2025.pdf
Topvasmm
 
Market Analyst: Insights that Drive Strategy
Market Analyst: Insights that Drive StrategyMarket Analyst: Insights that Drive Strategy
Market Analyst: Insights that Drive Strategy
Nicole Massimi
 
1911 Gold Corporate Presentation May 2025.pdf
1911 Gold Corporate Presentation May 2025.pdf1911 Gold Corporate Presentation May 2025.pdf
1911 Gold Corporate Presentation May 2025.pdf
Shaun Heinrichs
 
Business Processes in Treasury and Risk Management in SAP S/4HANA
Business Processes in Treasury and Risk Management in SAP S/4HANABusiness Processes in Treasury and Risk Management in SAP S/4HANA
Business Processes in Treasury and Risk Management in SAP S/4HANA
Course17
 
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdfNewBase 05 May 2025  Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
NewBase 05 May 2025 Energy News issue - 1785 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdfReasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Reasonable Price To Buy Verified Wise Accounts ( Personal & Business ).pdf
Topvasmm
 
Ad

SQL Bits 2018 | Best practices for Power BI on implementation and monitoring

  • 1. Best practices for Power BI on implementation and monitoring SQL Bits 2018
  • 2. Who am I? • Bent Nissen Pedersen, Denmark • Business Analytics Architect, Kapacity • @SQLBent • [email protected] • BI for 10+ years • www.biblog.eu
  • 3. Agenda • Monitoring • Bottlenecks • Components • Direct-query • Live Connection • Import • What should i do to fix performance? • What are the report developers doing wrong?
  • 4. Three types of monitoring Usage Performance Improvement
  • 5. Three types of monitoring Usage Performance Improvement
  • 6. Power BI usage Consumption • Reports • Dashboards Events & Activities • Gateway setup • Workspace Creation Usage Performance Improvement
  • 7. Demo of usage & events Usage Performance Improvement
  • 8. Demo of usage & events ... Logging is disabled per default Usage Performance Improvement
  • 9. Three types of monitoring Usage Performance Improvement
  • 10. Areas Report Layout On-Premises gateway Analysis Services (On-premises) Azure Analysis Services Network Power BI Premium Usage Performance Improvement
  • 11. Layout and reporting Usage Performance Improvement Number of items Interactions Many items
  • 12. Usage Performance Improvement Breakdown of Power BI request How queries are handled and executed Send request Process request and construct query Query travel time to data source Query is evaluated and result set is returned Result set travel time Result set processed and HTML is generated HTML travel time to end user Network related Power BI related Data source related
  • 13. Usage Performance Improvement Breakdown of Power BI request How queries are handled and executed Send request Process request and construct query Query travel time to data source Query is evaluated and result set is returned Result set travel time Result set processed and HTML is generated HTML travel time to end user Network related Power BI related Data source related
  • 14. Usage Performance Improvement Understanding live connections Using the gateway Microsoft Cloud On-premise Datacenter User opens report on PowerBI.com Power BI Enterprise Gateway (PBI EG) collects request to query on-prem SSAS PBI EG connects to SSAS using service account. Connectionstring includes ”[email protected]” Query is executed with required security context 1 6 2 5 4 3 1 3 2 4 6 5 PBI EG relays the result-sset to PBI PBI returns rendered visualizations to end-user
  • 15. Usage Performance Improvement Data source latency Direct query through on-premises gateway SSAS MD SQL Profiler xEvents SSAS Tabular DAX Studio SQL Profiler VertiPaqAnalyzer Tabular Editor xEvents SQL SQL Profiler SQL – Column store indexes
  • 16. Usage Performance Improvement Microsoft Cloud On-premise Datacenter Schedule triggers update of Power BI file with imported data Power BI Enterprise Gateway (PBI EG) collects request and starts meshup File are loaded, transformed and compressed for each dataset Meshup result is sent to PowerBI backend 2 4 3 1 3 2 4 1 Understanding data import Using the gateway
  • 17. Usage Performance Improvement Monitoring What to do about your gateway ? Ressources Monitoring of CPU and memory is recommend to be done using performance counters Above 80% utilization of either memory or CPU usually cause decreased performance Workloads Monitoring the workload should happe using Power BI specific performance counter. Split live query and data import effort to different gateways and change concurrent mesh-up executions Availability Ensure that multiple gateways are setup to support high Availability in a cluster Monitor setup and ensure that at least one gateway is available for each cluster.
  • 18. Usage Performance Improvement Microsoft Cloud 1 4 3 2 Understanding live connections Using Azure Analysis services User opens report on PowerBI.com PBI EG connects to SSAS using service account. Connectionstring includes ”[email protected]” Query is executed with required security context and returns data to PBI1 2 4 4 PBI returns rendered visualizations to end-user
  • 19. Azure Analysis Services Monitoring Usage Performance Improvement
  • 20. Azure Analysis Services Log Metrics • Meshup • Connections • Memory • I/O Usage Performance Improvement Engine • xEvents Service • Start, Stop... • Create gateway ... And setup alerts
  • 21. Demo of alerts Usage Performance Improvement
  • 22. Usage Performance Improvement Monitoring What to do about your Azure AS? Ressources & workload Use metrics to monitor and alert on situations where ressources are sparse or not avaialble. Scale out or up to support requirements. Availability High availability is not directly possible since no automated sync can be in place between regions or datacenters. An alias can be set up to avoid changes of connections.
  • 23. Usage Performance Improvement Network What and how? Mitigate with ExpressRoute Premium or by rethinking architecture Focus first on latency Data Source <-> Power BI One client request can lead to multiple queries Potentially move data source to VM in same Azure region as Power BI Backend cluster Data Source ClientPower BI Data Source ClientPower BI
  • 24. Usage Performance Improvement Power BI architecture How queries are handled and executed Requests from one report page Query execution time factors • Model & measure complexity • Tables relations • Security • Number of users
  • 25. Demo of events Usage Performance Improvement
  • 26. What is Power BI Premium? Usage Performance Improvement Power BI PremiumPower BI Cluster PBI Tentant 1 PBI Tentant 2 PBI Tentant 3 PBI Tentant 4 Personal Workspace Workspace Workspace Workspace Workspace Personal Workspace Personal Workspace Workspace Workspace Workspace
  • 27. Power BI Premium Log Metrics Usage Performance Improvement CPU Usage As for tabular models this is used for mashup of data and query execution. Memory Models are loaded into memory and trashed whenever there is not enough memory. Direct Query Limitations apply to number of live connection queries per second. P1 have a combined limit of 30 per second for cloud and on-premises. ... Setup extra capacity
  • 28. Three types of monitoring Usage Performance Improvement
  • 29. Usage Performance Improvement Power BI in the Enterprise Speed Monitoring and quality surveillance Power BI (Self-service) Exploration Flexibility Power BI (Enterprise) Consolidated business logic Training and support Documentation
  • 30. Governance Usage Performance Improvement Include admins Ensure that the super users get use to include administors in the setup Monitor success (and failure) Engage with the owners of the most used reporting content to ensure lifecycle and have it lifted to the enterprise platform. Slow reports might be improved and optimized to reduce performance impact. Gateways Setup, update and monitor gateways for users to utilize new functionality and improved mashup.
  • 31. Governance Usage Performance Improvement Layout What not to do; or how you improve Performance You know how to debug and what to look into. 0. Monitoring 1. Gateway load 2. Data source performance 3. Network 4. Layout Improvements Considerations for improving your governance and setup to embrace Power BI.
  • 33. Ressources • Power BI documentation • Power BI Blog • Power BI Security Whitepaper • Demos.microsoft.com • Power BI Template for Power BI API (Prathy) • Analysis Services Performance whitepaper
  • 34. Just like Jimi Hendrix … We love to get feedback Please complete the session feedback forms
  • 35. SQLBits - It's all about the community... Please visit Community Corner, we are trying this year to get more people to learn about the SQL Community, equally if you would be happy to visit the community corner we’d really appreciate it.

Editor's Notes

  • #9: Logging is not considers as GDPR vialations since it is metadata
  • #10: How many people are using Power BI towards on-premises source? Towards Azure Analysis Services? Mostly import?
  • #12: Success -> high usage numbers Share the message and details of used reports Premium support to reduce cost and remove old unused content
  • #15: How many are using the personal gateway ?
  • #18: (Scalpe up or out)
  • #23: (Scalpe up or out)
  • #24: (Scalpe up or out)
  • #29: Our tests showed latency down from 320 ms to 120 ms India -> North Europe Customer was satisfied with performance without ExpressRoute, but will consider it in the future In other words – look for slow performing components same way you are used to. Latency is for roundtrip We have 2 roundtrips per refresh
  • #31: Business
  • #32: Success -> high usage numbers Share the message and details of used reports Premium support to reduce cost and remove old unused content
  • #33: Success -> high usage numbers Share the message and details of used reports
  • #35: ½