Treatise on TREATAS() Alex Whiteside 08/15/19.

Slides:



Advertisements
Similar presentations
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 5/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Advertisements

Many-To-Many in DAX Alberto Ferrari Senior Consultant SQLBI DBI413.
Microsoft Access vs. Microsoft Powerpivot
Fundamentals, Design, and Implementation, 9/e Chapter 5 Database Design.
Matt Masson| Senior Program Manager
1 times table 2 times table 3 times table 4 times table 5 times table
Dual Partitioning for improved performance in VLDBs Ashwin Rao Karavadi, Rakesh Parida Microsoft IT.
Frequency Table Frequency tables are an efficient method of displaying data The number of cases for each observed score are listed Scores that have 0 cases.
Chapter 6 Additional Database Objects
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
1 What does evaporation tell us about ice ages?. 2 p. 608 Reflect & Connect 1-4 Finish up from the other day. 2.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
1 SQL - II Data Constraints –Applying data constraints Types of data constraints –I/O constraints The PRIMARY KEY constraints The FOREIGN KEY constraints.
Excel Power Pivot With Tom Vorves LinkedIn: tomvorves
IS201 Agenda: 09/19  Modify contents of the database.  Discuss queries: Turning data stored in a database into information for decision making.  Create.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Tables Learning Support
BISM Introduction Marco Russo
about me – Austin Senseman, CFA 5 years in Financial Services, Managed analytics for sales, marketing, risk, finance, &
Slide 1 © 2016, Lera Technologies. All Rights Reserved. Oracle Data Integrator By Lera Technologies.
$200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200.
Review DirectQuery in SSAS 2016, best practices and use cases
John Tran Business Program Manager, The Suddath Companies
Building Tabular Models
Chapter 5 Database Design
Relationship modeling patterns in SSAS and Power bi
Power BI Architecture, Best Practices, and Performance Tuning
6/12/2018 2:19 PM BRK3245 DirectQuery in Analysis Services: best practices, performance, and use cases Marco Russo SQLBI © Microsoft Corporation. All rights.
Your friends / colleagues can watch this session Live on !
Table Amortized cost: $3 Insert 5 Actual cost: $1.
Module 11: Introduction to DAX Module 11 Introduction to DAX
Dumps PDF Analyzing and Visualizing Data with Microsoft Power BI Preparing for Microsoft Certification Exam
Times Tables.
Relationship modeling patterns in SSAS and Power bi
February 12 – 19, 2018.
What Are Preservatives And Additives.
Budgeting with Power Pivot
Explore Data Beautifully: How Power BI Desktop Stacks Up Against Excel
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
SQL Saturday New York City May 19th, 2018
Evaluation Context Concepts and Examples.
Modeling scenarios for DAX
Database Management System
Data Modeling and Prototyping
5 × 7 = × 7 = 70 9 × 7 = CONNECTIONS IN 7 × TABLE
5 × 8 = 40 4 × 8 = 32 9 × 8 = CONNECTIONS IN 8 × TABLE
4 × 6 = 24 8 × 6 = 48 7 × 6 = CONNECTIONS IN 6 × TABLE
5 × 6 = 30 2 × 6 = 12 7 × 6 = CONNECTIONS IN 6 × TABLE
ADDITIVE VS. MULTIPLICATIVE RELATIONSHIPS
Introducing DAX July 11th, 2015.
Leveraging Technology to Achieve Healthcare Cost Efficiencies
Welcome to SQLSaturday #767! Hosted by Lincoln SQL Server User Group
Joins and other advanced Queries
10 × 8 = 80 5 × 8 = 40 6 × 8 = CONNECTIONS IN 8 × TABLE MULTIPLICATION.
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
3 × 12 = 36 6 × 12 = 72 7 × 12 = CONNECTIONS IN 12 × TABLE
Writing Expressions.
Inference and Observation Activity.
Dashboard in an Hour Using Power BI
3 times tables.
6 times tables.
Role Playing Dimensions in Tabular Data Models
Today we will: analyze characteristics of relationships
5 × 12 = × 12 = × 12 = CONNECTIONS IN 12 × TABLE MULTIPLICATION.
Evaluation Context in DAX
Annoyed with a stubborn pivot table? PowerPivot is your answer.
5 × 9 = 45 6 × 9 = 54 7 × 9 = CONNECTIONS IN 9 × TABLE
3 × 7 = 21 6 × 7 = 42 7 × 7 = CONNECTIONS IN 7 × TABLE
Thanks to All Sponsors Gold Sponsors Silver Sponsor Bronze Sponsor.
Data Modeling and Prototyping
Presentation transcript:

Treatise on TREATAS() Alex Whiteside 08/15/19

Data Lineage DAX preserves the relationships of references to columns and their values* in the data model Renaming a column does not disrupt data lineage

Data Lineage DAX preserves the relationships of references to columns and their values in the data model …*but not expressions

TREATAS() TREATAS() Introduced in PBI Desktop February 2017 TREATAS(table_expression, <column>[, <column>[, <column>[,…]]]} ) Applies the result of a table expression as filters to columns from an unrelated table. “treat X as a filter for Y”

Performance Ranking TREATAS() is less efficient than using a physical relationship to propagate a filter (including leveraging an inactive relationship with USERELATIONSHIP()) , but more efficient than creating a virtual relationship with other functions source: sqlbi “Propagating filters using TREATAS in DAX”

Common Scenarios Surrogate for relationships that cannot be created due to… filtering ambiguity C.f. leveraging an inactive relationship with USERELATIONSHIP() constraints on changing the data model (e.g. using Live Connection)

Common Scenarios Filtering tables of differing granularities e.g. budget/forecast vs actuals

Common Scenarios Filtering a table with a table expression