Building Tabular Models

Slides:



Advertisements
Similar presentations
Cubes for Flat Table Land
Advertisements

CC SQL Utilities.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
SQL Server Accelerator for Business Intelligence (SSABI)
Arjun Krishnamoorthi  Power View enables self-service BI by providing simple to use ad-hoc reporting for business users and decision.
James Serra – Data Warehouse/BI/MDM Architect
Exploring Microsoft Access 97 Chapter 3 Information From the Database: Reports and Queries Office graphic copyright by Microsoft Corp.
Exploring Microsoft Access
Integrating Access with the Web and with Other Programs.
Copyright © 2003 Addison-Wesley Defining Relational Databases What is an Access database? How do you create an Access database? How do you create and modify.
Implementing Business Analytics with MDX Chris Webb London September 29th.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Access 2010 © 2011 The McGraw-Hill Companies,
Julie Strauss Senior Program Manager Lead Microsoft Corporation
Exploring Office Grauer and Barber 1 Information From the Database: Reports and Queries(Wk4)
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
Chapter 3 Files/Folders needed: \Chapter3\Samples \Chapter3\Labs.
Analysis Services 101 Dave Fackler, MCDBA, MCSE, MCT Director, Business Intelligence Practice Intellinet Corporation.
SharePoint 2010 Business Intelligence Module 9: PowerPivot.
Microsoft Access 2010 Building and Using Queries.
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 3 - Information From the Database: Reports.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
BI Terminologies.
Highline Class, BI 348 Basic Business Analytics using Excel Introduction to PowerPivot 1.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
SQL Server Analysis Services 2012 BI Semantic Model BISM.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Intro to Power BI Azhagappan Arunachalam.  Senior Database Architect   PowerBICentral.com  (blog on getting started.
BISM Introduction Marco Russo
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Getting Started with Tabular July 11, Phillip Labry  Sr. BI Engineer  IT development for over 25 years  Developer, DBA, Business Intelligence.
FINAL EXAM REVIEW PROJECT Computer Science 101 West Virginia University 1.
Extending and Creating Dynamics AX OLAP Cubes
Presenter Date | Location
Let’s Build a Tabular Model in Azure
What’s new in SQL Server 2017 for BI?
Introduction to Tabular Data Models
Power BI Performance Tips & Tricks
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Microsoft Office Illustrated Introductory, Windows Vista Edition
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.
Plug-In T7: Problem Solving Using Access 2007
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Cross UG Summit EMEA /6/2018 7:24 PM
Module 11: Introduction to DAX Module 11 Introduction to DAX
TechEd /13/2018 7:46 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Building and Using Queries
Introduction to SQL Server Analysis Services
Toolkit for DAX Optimization
Boosting SSAS Productivity with Tabular Editor
Introduction to tabular models
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
Implementing Data Models & Reports with Microsoft SQL Server
Module 10: Implementing a Tabular Data Model with Microsoft PowerPivot
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Kasper de Jonge Microsoft Corporation
Module 12: Implementing an Analysis Services Tabular Data Model
Microsoft Office Access 2003
Microsoft Office Access 2003
Power BI with Analysis Services
Introduction to DAX Mike Davis, Consultant Architect.
Let’s Build a Tabular Model in Azure
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
Pivot tables and charts
Microsoft Office Illustrated Introductory, Windows XP Edition
Dashboard in an Hour Using Power BI
Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB
Chapter 3 Query and Report.
Module 5: Creating Multidimensional Databases
Presentation transcript:

Building Tabular Models Pragmatic Works Dan Clark dclark@pragmaticworks.com

Advantages of using Tabular Data Models in SSAS Scalability Manageability Security Development Tools

The xVelocity Engine Fast Performance Columnar Database Data Compression In-memory Storage Calculations on the Fly Table Model

Importing Data from a Database The Table Import Wizard Tables and Views Previewing Queries Stored Procedures

Importing Data from a File Importing from Excel Launches Table Import Wizard Select Tables (sheets) Data Preview Text File Imports Single Table No Query option

Importing Data from an SSAS Cube SSAS 2005 or greater MDX Query (Designer Available) Result is Flattened to Table

Importing Data from a Data Feed XML Data Streams Online Data Source B to B EDI Data Feed in Atom Format Use Table Import Wizard Provide Web Address

Demo: Loading Data into a Tabular Model Refer to Lab Notes.

Creating Table Relations Relationship Types Active and Inactive Auto Relationship Detection Verifying Auto Detection Manually Defining Relationships Data Types Concatenated Key Relationships

Logical vs. Physical Model Renaming Tables and Fields Hiding Rows Denormalizing After Loading Data Using the Related Function Denormalizing While Loading Data Using SQL Queries

Hierarchies Organize Attributes Natural Hierarchies Year  Quarter  Month Country  Region  City Aids in Rolling up/Drilling down Analysis

Demo: Updating a Data Model

Adding Calculated Columns Data Types Whole Number Decimal Number Currency True/False Text Date Binary Uses DAX Expressions Populated When Defined

DAX Syntax =[Margin]/[TotalCost] =[FirstName] & " " & [LastName] ="Week" & "-" & Right([CalendarWeek],2) =FORMAT('Date'[Datekey],"dddd mmm-dd") =Year(NOW()) - Year([BirthDate]) =MONTH([Datekey]) =IF([SellingAreaSize]>=1000,"Large","Small")

Navigation Functions Getting a Value From a Related Table Getting a Set of Values From a Related Table Filtering Values from a Related Table =Related('ProductCategory'[ProductCategoryName]) =COUNTX(RELATEDTABLE(Store),Store[EntityKey])

Measures Named Formulas Defined in Measures Grid Used in Values Area of PivotTable Evaluated on the Fly Evaluated Separately for Each Cell Depends on filtering

Aggregation Aggregating a column Aggregating Expressions Over Rows SUM, AVERAGE, COUNT, DISTINCTCOUNT, MIN, MAX Aggregating Expressions Over Rows SUMX, AVERAGEX, COUNTX, MINX, MAXX TotalSales:=SUM([SalesAmount]) TotalMargin:=SUMX(Sales,([SalesAmount]-[TotalCost]))

Filter Context Row and Column Headers Slicers and Filters DAX Formula Filters

Using the Calculate Function Final Result is a single Value Expression is Aggregate SetFilter Modifies Filter Context Boolean Expression Table Expression ResellerSales:=CALCULATE([TotalSales] ,Store[StoreType]="Reseller") AllProductSales:=CALCULATE([TotalSales], ALL(Product))

Demo: Adding Calculations and Measures

Implementing Perspectives Define Viewable Subsets of a Model Provide Business-Specific Viewpoints Select the Viewable Fields and Measures Not Meant to be Used for Security

Applying Role Based Security Define Member Permissions for a Model Membership is by Windows Username/Group Permissions Read Query Data Process Can Run Processing Operations Administrator Can Make Modifications to the Model Schema Can Query All Data

Implementing Row Based Security Row Filters Define Which Rows Can be Queried Row Filters are Defined Using DAX Formulas Must Evaluate to a TRUE/FALSE Value Row Filters Apply to the Specified Rows as Well as Related Rows Use the Filter, =FALSE(), to Deny Access to All Rows For a Table

Creating Partitions Each Table Has One Partition Partitions can Be processed Independently Divide Portions of Data Needing Frequent Processing Use Partition Manager for Selecting Tables, Rows, and Columns for a Partition

Deploying a Tabular Model Must Deploy to SSAS for Client Access Connecting to Deployed Model .bism Connection File in Sharepoint Data connection directly from reporting client Microsoft Excel, Power View, Custom Applications Deployment Options SQL Server Data Tools (SSDT) Set Deployment Properties Server, Database, Cube Name, Processing Analysis Management Objects (AMO) Automation Synchronize Database Wizard

Demo: Partitioning and Securing a Tabular Model