Power BI Performance Tips & Tricks

Slides:



Advertisements
Similar presentations
The State of SharePoint BI
Advertisements

Chris Webb Crossjoin Consulting Ltd
Data Analysis Nirvana: Excel 2013 Business Intelligence Features Tom Jones – President, Iridium Technology LLC.
Realizing Business Insights with PowerPivot
SPONSORS. Microsoft PowerPivot for SQL Server, Excel 2010, and SharePoint 2010 Michael Herman Syntergy, Inc.
PowerPivot Hope Foley Perpetual Technologies. Who Am I?  Microsoft Team Lead  SQL Server DBA  (MCITP: Database Administration in 2005 and 2008)  In.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
Highline Class, BI 348 Basic Business Analytics using Excel Introduction to PowerPivot 1.
Advanced Tips And Tricks For Power Query
Intro to Power BI Azhagappan Arunachalam.  Senior Database Architect   PowerBICentral.com  (blog on getting started.
BISM Introduction Marco Russo
Power View Overview April 25, POWER VIEW Presentation ready visualizations for the masses.
OM. Platinum Level Sponsors Gold Level Sponsors Pre Conference Sponsor Venue Sponsor Key Note Sponsor.
MAKING BUSINESS INTELLIGENT Brought to you by your local PASS Community! Self Service ETL with Power Query Welcome.
Microsoft PowerBI – Advanced Solutions with Microsoft Excel and PowerBI Presented by: Phillip Guglielmi, CPA | Senior BI Consultant and Solutions Architect.
Review DirectQuery in SSAS 2016, best practices and use cases
John Tran Business Program Manager, The Suddath Companies
SQL Server Analysis Services Fundamentals
45 Minutes to Your First Tabular Model
Building Tabular Models
4/18/2018 6:56 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
45 Minutes to Your First Tabular Model
Let’s Build a Tabular Model in Azure
What’s new in SQL Server 2017 for BI?
Introduction to Tabular Data Models
Relationship modeling patterns in SSAS and Power bi
6/12/2018 2:19 PM BRK3245 DirectQuery in Analysis Services: best practices, performance, and use cases Marco Russo SQLBI © Microsoft Corporation. All rights.
<Enter course name here>
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Leveraging BI in SharePoint with PowerPivot and Power View
ABC! Always Be…. Coding (calculated measures)
Toolkit for DAX Optimization
Boosting SSAS Productivity with Tabular Editor
Power BI Performance …Tips and Techniques.
Introduction to tabular models
Introduction to tabular models
Data Integration with Power Query
SQL Server Analysis Services Fundamentals
SQL Server Analysis Services Fundamentals
DAX and the tabular model
Best practice using Power pivot. Henk Vlootman, Excel MVP
Creating HIGH PERFORMANCE TABULAR MODELS
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
SQL Saturday New York City May 19th, 2018
Power Query Discovery and connectivity to a wide range of data sources
Power BI for large databases
Modeling scenarios for DAX
Processing Analysis Services Tabular Models
What query folding means to self-service BI projects
Data Modeling and Prototyping
Building your First Cube with SSAS
Tracking Usage of Analysis Services with SharePoint
Spreadsheets, Modelling & Databases
Power BI with Analysis Services
Become a Power BI Superstar under 1 hour!
Introducing DAX July 11th, 2015.
If you are expecting … Power BI Data Modeling This session explains why data modeling is so important even if Power BI utilizes the in-memory columnar.
Donald Donais Minnesota SharePoint Users Group – April 2019
Introduction to Dataflows in Power BI
Let’s Build a Tabular Model in Azure
Dashboard in an Hour Using Power BI
A lightweight editor for SSAS Tabular Models built in .NET / WinForms
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Processing Tabular Models
Microsoft Excel PowerPivot ….light & Easy
Become a Power BI Superstar under 1 hour!
Data Modeling and Prototyping
Presentation transcript:

Power BI Performance Tips & Tricks Callum Green 14/10/2017 Power BI Performance Tips & Tricks

Sponsors

About me Senior Business Intelligence Consultant Power BI / Query Editor for 2+ years Worked in BI for 8 years & Microsoft MCSE Email: callum.green@adatis.co.uk Blog: http://blogs.adatis.co.uk/callumgreen/

Agenda Direct Query / Live Connection Import Data Model File Size & Memory Query Folding Report Design

Direct Query / Live Connection Differences? Direct Query ONLY Relationships Change to Import mode Database Analysis Services Cube Relationships are obvious because an AS cube has pre built relationships built by a developer. Relationships are stored in the Power BI Model for Direct Query. Import – if you go to query editor and enter data, you are prompted to change to import mode Will now demo the two connection type and show you how you can access Quick Measures (preview feature) – released April 2017

Import Data Model – Table Structure Short, Wide Tall, Narrow Remove all fields not used for analysis Remove relationship ID’s not in use Exceptions to the rule? 10’s of millions of rows Pause and explain import mode A Power BI model is just an AS cube running on your local machine. Uses the vertipaq engine – now know as xvelocity. Which is designed to get up to 10x compression rates – tall/narrow tables compress better in general because of columnar storage Exception? - Xvelocity (Vertipaq) engine – partitions rows in 1 million chunks and interfere with compression rates , 8 million for tabular

Import Data Model – Data Types Avoid Strings as an ID Slower performance Larger data models Splitting Date & Time Avoid GUID’s / large text fields Split date & time – reduces unique records and splitting this into a time and date dimension massively reduces cardinality and improves compressions rates,

Import Data Model – Slicers Effects Dev/User Experience Issues 2 queries: Value in the list Related rows from table Cross filtering executed across sets of slicers High Cardinality Slicers = Slower performance

Import Data Model - DAX Calculated Column – Every refresh Measures – Run time DAX Examples: FILTER checks every individual row MIN/MAX scans entire table Vertipaq Alberto and Marco’s Excel Macro file that connects to Tabular – show them quickly how to get the connection to import cube.

Memory File size a rough estimate Check memory usage Kasper de Jonge Dashboard Background Data – Amount of data being processed in the background, not necessary for queries in your model that aren’t being worked on don’t necessarily need to be preview any time soon. Let it preview when needed.

Demo I want to show how we can reduce the size of our workbook file, which will help improve general performance and use less memory. This will lead to showing these two settings: Time intelligence – power bi setting – ill show you shortly

Query Folding (1 of 3) Reduced workloads Faster performance Increased productivity Reduced workloads client side Productivity from a dev perspective

Query Folding (2 of 3) Supported Transformations: Filtering (WHERE) Merge (JOIN) Aggregates and GROUP BY Pivot and Unpivot        Numeric calculations Simple string manipulation e.g. UPPER - more specific to SQL

Agenda Query Folding (3 of 3) Limitations: Only some data sources supported Certain operations/functions prevent folding Merge Columns Replace Errors Buffer() M Function Certain filters – ‘This Month’ Currently, only a few sources are supported. Shown in previous slide. Stuff like Flat file sources and Excel doesn’t work. Also, if you do not structure your transformations correctly, query folding may not be applied As you’ll see in the demo, the SQL written is basically a sub query per PQ step Auto generated source code Reduced performance?

Agenda Report Design Performance Considerations: Shapes < 20 Maps Many data points Custom Visuals Third Party Demo Performance is mainly data and formula related, but bear these in mind. D3 for third party tools Although they are now embedded in Power BI Desktop and reliability of the ones in the store are usually reliable

Recap Enterprise: Basic self serve Live Connection / Direct Query Data mashup: Import Mode Remove other columns Query Fold Monitor: DAX File Size Memory Split out LC/DQ and Import mode

Agenda Resources Vertipaq Analyser - https://www.sqlbi.com/tools/vertipaq-analyzer/ Memory Usage in Power BI - https://www.kasperonbi.com/new-ssas-memory-usage-report-using-power-bi/ Dax Studio- https://daxstudio.codeplex.com/

Agenda Questions

Sponsors