Presentation is loading. Please wait.

Presentation is loading. Please wait.

Model complex data easily with SQL Server 2016 Analysis Services

Similar presentations


Presentation on theme: "Model complex data easily with SQL Server 2016 Analysis Services"— Presentation transcript:

1 Model complex data easily with SQL Server 2016 Analysis Services
Microsoft 2016 6/23/2018 6:41 AM BRK3133 Model complex data easily with SQL Server 2016 Analysis Services Kay Unkroth Senior Program Manager © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 6/23/2018 6:41 AM Review the most important Analysis Services Tabular enhancements in SQL Server 2016. Showcase the new scripting and programmability options to automate tedious repetitive modelling tasks and accelerate solution delivery. Session Objectives © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Analysis Services Enhancements in SQL Server 2016
6/23/2018 6:41 AM Analysis Services Enhancements in SQL Server 2016 © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 SQL Server Analysis Services
6/23/2018 6:41 AM SQL Server Analysis Services CLIENT TOOLS 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Analysis Services Engine Improvements
6/23/2018 6:41 AM Analysis Services Engine Improvements Non empty calculation Fewer scans to improve query execution. Measure Fusion Multiple measures from the same table combined into a single storage engine query. Grouping sets For measures at multiple granularities, a single query is sent at the lowest level and the rest derived from the lowest level. Redundant join elimination A single query to the storage engine returns both the dimension columns and the measure values. Strict evaluation of IF/SWITCH A branch whose condition is false will no longer result in storage engine queries. Variables can be used Evaluate an expression once and use the results many times. And more! CLIENT TOOLS 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Analysis Services VertiPaq Improvements
6/23/2018 6:41 AM Analysis Services VertiPaq Improvements CLIENT TOOLS High-Performance Data Import Enhanced performance through parallel processing of partitions. Database Consistency Checker Check for corruption issues on database or individual objects. Full xEvents Support Diagnose problems with xEvents, a light-weight tracing and performance monitoring system in SSMS. Optimized Metadata Operations Tabular 1200 models rely on an entirely refactored tabular metadata stack. And more! 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Analysis Services DirectQuery Improvements
6/23/2018 6:41 AM Analysis Services DirectQuery Improvements CLIENT TOOLS High-Performance DirectQuery Eliminate redundant source queries, use better joins, and push calculations to the source as much as possible. Data Security Allow Row-level securities to be defined. Calculated Columns Support tables with intra-row calculated columns. More Data Sources Support Oracle, Teradata, and APS in addition to SQL Server RDBMS. Broad Availability across BI Tools Support common analytical tools with MDX queries, namely Excel (and others). And more! 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 SSDT Tabular Improvements
6/23/2018 6:41 AM SSDT Tabular Improvements Simplified Setup Experience SQL Server and BI Tools consolidated in SSDT for Visual Studio 2015. Improved DAX Formula Editing Syntax coloring, multiline and indentation, and support for comments in measures. Formula Fixup On a tabular 1200 model, SSDT will automatically update any measures referencing a renamed column or table. Multiple Project Configurations Create multiple project configurations using Visual Studio configuration manager to deploy to different targets. Simplified Team Development For tabular 1200 models, Model.bim file is based on JSON-based TMSL making it easier to identify and consolidate data model changes. Save Incomplete Measures Save incomplete DAX expressions and continue at your convencience. And more! CLIENT TOOLS 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Tabular 1200 Modelling Improvements
6/23/2018 6:41 AM Tabular 1200 Modelling Improvements Fast Metadata Updates Metadata changes only impact affected objects. More DAX Functions Access to 50+ new DAX functions and support for variables. Bi-Directional Crossfiltering Powerful bi-directional relationships support BI patterns like M:M. Calculated and Pasted Tables Use DAX to create tables dynamically. Display Folders Display folders for columns and measures. Localization of Metadata Ability to view semantic models in client language. Simplified Scripting and Programming Support for new scripting language (TMSL). Support for new object model (TOM). And more! CLIENT TOOLS 3rd party applications Excel SSRS paginated reports SSRS mobile reports Power BI Desktop PowerBI.com BI SEMANTIC MODEL Use SQL Server data tools for Visual Studio to create BI semantic models Queries MDX/DAX (all model types) Data model Tabular Multidimensional Business logic MDX DAX Data access MOLAP ROLAP VertiPaq DirectQuery DATA SOURCES Relational databases LOB applications Cloud services Analytics platform system © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Accelerate Data Modelling and Solution Delivery
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Simplified Scripting for Tabular Models
Tabular Model Scripting Language (TMSL) { "name": "Demo Model", "description": "Demo model description", "culture": "en-US", "dataSources": [ .... ], "tables": [ "name": "Customer", "description": "Customer information.", "columns": [ "name": "ID", "dataType": "int64", "sourceColumn": "customer_id", "sortByColumn": "Last Name" }, Tabular scripting language Requires 1200 or higher compat level Based on JSON Works with any XMLA based client tool Supports fast metadata operations Provides parity with Power BI API’s TOM can serialize/deserialize metadata

12 Working with Tabular Models Programmatically
Tabular Object Model (TOM) public void RefreshTable() { var server = new Server(); server.Connect(ServerConnectionString); //Connect to the server. Database Db = server.Databases["TMDB"]; //Connect to the DB Model m = Db.Model; //Get the model //Mark the Sales table to be refreshed. m.Tables["Sales"].RequestRefresh(RefreshType.Full); m.SaveChanges(); //Commit the changes } Column(s) Measure(s) Table(s) Model Database

13 Create once, reuse often
6/23/2018 6:41 AM Create once, reuse often © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Working with Calculated Tables and DAX Patterns
Pasted and other calculated tables and measures ....

15 Maintain your relationships
6/23/2018 6:41 AM Maintain your relationships © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Many-to-Many Relationships
Problem Solved! Must Read:

17 Lost in Translation? 6/23/2018 6:41 AM
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Localizing a Tabular Model
Export – Translate - Import "cultures": [ { "name": "de-DE", "translations": { "model": { "name": "Model", "translatedCaption": "Datenmodell", "translatedDescription": "", "tables": [ "name": "Customer", "translatedCaption": "Kunde", "columns": [ "name": "FirstName", "translatedCaption": "Vorname", "translatedDescription": "" }, ....

19 Get the job done (one way or another!) 6/23/2018 6:41 AM
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Migrating Unsupported 1103 Features to 1200
Export from 1103 – Transform – Apply to 1200 using Windows PowerShell

21 Tabular Editor Go beyond the SSDT developer experience From the author (Daniel Otykier): “Thanks to the new Tabular Object Model in Compatibility Level 1200, it turns out to be very easy to modify the metadata of a Tabular model. Through the Tabular API, these changes can be done either in a Model.bim file, or directly to a Tabular database that has been deployed to a server.”

22 Free IT Pro resources To advance your career in cloud technology
Microsoft Ignite 2016 6/23/2018 6:41 AM Free IT Pro resources To advance your career in cloud technology Plan your career path Microsoft IT Pro Career Center Cloud role mapping Expert advice on skills needed Self-paced curriculum by cloud role $300 Azure credits and extended trials Pluralsight 3 month subscription (10 courses) Phone support incident Weekly short videos and insights from Microsoft’s leaders and engineers Connect with community of peers and Microsoft experts Get started with Azure Microsoft IT Pro Cloud Essentials Demos and how-to videos Microsoft Mechanics Connect with peers and experts Microsoft Tech Community © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Please evaluate this session
6/23/2018 6:41 AM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 6/23/2018 6:41 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Model complex data easily with SQL Server 2016 Analysis Services"

Similar presentations


Ads by Google