Data modelling for Power BI using brand new Analysis Services Features

Slides:



Advertisements
Similar presentations
Dos and don’ts of Columnstore indexes The basis of xVelocity in-memory technology What’s it all about The compression methods (RLE / Dictionary encoding)
Advertisements

Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
DAT 360: DTS in SQL Server 2000 Best Practices Euan Garden Group Manager, SQL Server Microsoft Corporation.
DAT 332 SQL Server 2000 Data Transformation Services (DTS) Best Practices Euan Garden Product Unit Manager SQL Server Development Microsoft Corporation.
SSIS – Deep Dive Praveen Srivatsa Director, Asthrasoft Consulting Microsoft Regional Director | MVP.
Taking Analysis Services Tabular to Enterprise Levels Stacia Varga Data Inspirations
Review DirectQuery in SSAS 2016, best practices and use cases
Welcome! Power BI User Group (PUG)
4/18/2018 6:56 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Data Platform Modernization
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Creating Enterprise Grade BI Models with Azure Analysis Services
Welcome! Power BI User Group (PUG)
Delivering enterprise BI with Azure Analysis Services
Business Critical Application Platform
SharePoint Solutions Architect, Protiviti
Using a Gateway to Leverage On-Premises Data in Power BI
Power BI Architecture, Best Practices, and Performance Tuning
- for the SSASMD Developer
Using a Gateway to Leverage On-Premises data in 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.
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.
Timesheets and Statusing in Project 2013
Developing apps for the Internet of Things
Welcome! Power BI User Group (PUG)
Julie Strauss Senior Program Manager Microsoft
Welcome! Power BI User Group (PUG)
Installation and database instance essentials
Проектиране и изграждане на сигурни Smart Client приложения
Welcome! Power BI User Group (PUG)
Using a Gateway to Leverage On-Premises Data in Power BI
02 | Design and implement database
9/19/2018 7:06 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Modeling and Analytics Features Coming in Analysis Services vNext
Azure SQL Data Warehouse Scaling: Configuration and Guidance
Darren Neimke and Jonathan Ruckert
Welcome! Power BI User Group (PUG)
Data Platform Modernization
11/18/2018 2:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Welcome! Power BI User Group (PUG)
Welcome! Power BI User Group (PUG)
Welcome! Power BI User Group (PUG)
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Effective report authoring using Power BI Desktop
Andi Comisioneru Principal Group Program Manager Microsoft Corporation
Kasper de Jonge Microsoft Corporation
Power BI for large databases
Customizing WPA Trace Views
Office 365 – Attractive and Easy to Use.
Welcome! Power BI User Group (PUG)
ASP.NET 4.0 State Management Improvements – Deep Dive
Sessions about to start – Get your rig on!
LitwareHR v2: an S+S reference application
What query folding means to self-service BI projects
Andi Comisioneru Principal Group Program Manager Microsoft Corporation
Transaction Log Internals and Performance David M Maxwell
Zero to Tabular Patrick LeBlanc Data Platform Solution Architect
Power BI with Analysis Services
Data Management Microsoft Dynamics 365 for Finance and Operations
Developing for Windows Azure
Welcome to SQLSaturday #767! Hosted by Lincoln SQL Server User Group
Power BI at Enterprise-Scale
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Build /4/ Diagnosing issues with Windows Phone 8.1 JavaScript apps using Visual Studio Andy Sterland Senior Program
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Making Windows Azure Relevant to IT Professionals
Tools and techniques for managing big data with Power BI
Microsoft Connect /14/ :11 AM
Presentation transcript:

Data modelling for Power BI using brand new Analysis Services Features Phil Seamark

Phil Seamark - MVP Radacad Wellington Power BI User Group Microsoft MVP Author Active in Power BI Community @PhilSeamark phil@radacad.com

Session Agenda Incremental Refresh In memory Aggregations The problem The solution The benefits In memory Aggregations Questions and Giveaways

Incremental Updates

Incremental Refresh The Problem Large data sets refresh IN FULL each time Refresh duplication Compounded when refreshing multiple times per day

Incremental Refresh The Solution Unlock and use SSAS Partitions Auto scripted in the Webservice Elegant solution using Merge partitions (Merge , Drop & Recovery) The table to be incrementally refreshed needs to have a Date column Some manual configuration required (see demo)

Demo : Incremental Update

Incremental Refresh The Benefits (and notes) Available now!! Speed of refreshing from data source. The larger the table, the bigger the benefit Less load on data source Premium is required for now – but IS coming to shared XMLA endpoints later this year

In-memory Aggregations

In-memory Aggregations The Problem I have a very large data set and want to user Power BI to analyse and report Queries against very large tables are inefficient Slow reports even with smaller data sets

In-memory Aggregations The Solution Aggregation tables (Summary tables) Composite models Mapping Columns Table Precedence Profiler – new events Storage modes (Import, Direct Query and DUAL) ……

Import vs. DirectQuery Big Models Query Performance Data Freshness 4/24/2019 5:23 AM Import vs. DirectQuery Big Models Query Performance Data Freshness DirectQuery Import © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Import vs. DirectQuery Big Models Query Performance Data Freshness 4/24/2019 5:23 AM Import vs. DirectQuery Big Models Query Performance Data Freshness DirectQuery Import AT TABLE LEVEL!!! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Import DirectQuery Geography Geography Customer Customer Sales Sales 4/24/2019 5:23 AM DirectQuery Import Geography Geography Customer Customer Sales Sales Date Date Product Product Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

& Import DirectQuery IMPORT Geography Geography Direct Query Customer 4/24/2019 5:23 AM DirectQuery & Import IMPORT Geography Geography Direct Query Customer Customer Sales Sales Date Date Product Product Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

& Import DirectQuery IMPORT Geography Geography Direct Query Customer 4/24/2019 5:23 AM DirectQuery & Import IMPORT Geography Geography Direct Query Customer Customer Sales Sales Agg Date Date Product Product Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations IMPORT Geography Geography Direct Query Sales Agg 4/24/2019 5:23 AM Aggregations IMPORT Geography Geography Direct Query Sales Agg Customer Customer Sales Date Date Product Product Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations Hits in-memory cache SummarizeColumns( Date[Year], 4/24/2019 5:23 AM Aggregations IMPORT Geography Geography Direct Query Sales Agg Customer Customer SummarizeColumns( Date[Year], Geography[City], "Sales", Sum(Sales[Amount]) ) Sales Date Date Product Product Reseller Sales Reseller Sales Employee Employee Hits in-memory cache © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations DirectQuery SummarizeColumns( Date[Year], Customer[Name], IMPORT Geography Geography Direct Query Sales Agg Customer Customer SummarizeColumns( Date[Year], Customer[Name], "Sales", Sum(Sales[Amount]) ) Sales Date Date Product Product Reseller Sales Reseller Sales Employee Employee DirectQuery © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations “Many side” “One side” Dual Import Import or Dual DQ 4/24/2019 5:23 AM Aggregations IMPORT Geography Geography DIRECT QUERY Sales Agg Storage Mode = Dual DUAL Customer Customer Sales 1-to-many relationship rules Date Date Product Product “Many side” “One side” Dual Import Import or Dual DQ DQ or Dual Reseller Sales Reseller Sales Employee Employee (both sides are from a single source) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations “Many side” “One side” Dual Import Import or Dual DQ 4/24/2019 5:23 AM Aggregations IMPORT Invalid Geography DIRECT QUERY Sales Agg DUAL Customer Customer Sales 1-to-many relationship rules Date Date Product Product “Many side” “One side” Dual Import Import or Dual DQ DQ or Dual Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Aggregations “Many side” “One side” Dual Import Import or Dual DQ 4/24/2019 5:23 AM Aggregations IMPORT Invalid Geography Geography DIRECT QUERY Sales Agg DUAL Customer Customer Sales 1-to-many relationship rules Date Date Product Product “Many side” “One side” Dual Import Import or Dual DQ DQ or Dual Reseller Sales Reseller Sales Employee Employee © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

In-memory Aggregations DB Table Storage Mode Dimension Rows Size Agg_A Import Year + Measures 14 100Kb Agg_B Date + Measures 5,110 32MB Agg_C Date, hour, Payment + Measures 585,774 39MB Agg_D Import or Direct Query Date, hour, Payment, Geography 257,423,110 8.8GB Trip Direct Query ALL 2.3 Billion ½ TB

Demo : In-memory Aggregations

In-memory Aggregations The Benefits (and notes) Speed, speed and more speed Can use incremental refresh with AGG tables DQ tables need to be from the same source to take full advantage for DUAL Not a one click solution – still requires thought and care Not for every Power BI scenario If you have a slow report…..

Questions and Prize Draw

Don’t forget to join your local PUG to enjoy year-round networking and learning.