Evaluation Context in DAX

Slides:



Advertisements
Similar presentations
Chris Webb Crossjoin Consulting Ltd
Advertisements

Arjun Krishnamoorthi  Power View enables self-service BI by providing simple to use ad-hoc reporting for business users and decision.
Many-To-Many in DAX Alberto Ferrari Senior Consultant SQLBI DBI413.
SPONSORS. Microsoft PowerPivot for SQL Server, Excel 2010, and SharePoint 2010 Michael Herman Syntergy, Inc.
Our Powers Combined: Query, Pivot, Map, and View A quick tour through the 4 pillars of Power BI February 11, 2014.
PowerPivot Hope Foley Perpetual Technologies. Who Am I?  Microsoft Team Lead  SQL Server DBA  (MCITP: Database Administration in 2005 and 2008)  In.
The 20-Minute Tabular Model Bill Anton Prime Data Intelligence.
1 2 3 The result is ALL Sales Territory Country.
Excel Power Pivot With Tom Vorves LinkedIn: tomvorves
Highline Class, BI 348 Basic Business Analytics using Excel Introduction to PowerPivot 1.
SQL for Super Users Presented by: Adam Jacobson Red Three Consulting, Inc.
Write DAX Queries using DAX Studio Alex Barbeau
OM. Platinum Level Sponsors Gold Level Sponsors Pre Conference Sponsor Venue Sponsor Key Note Sponsor.
Example Materials Power BI Desktop File (4/16): 6WPbWY5UTRhaHYwdDA/view?usp=sharing.
about me – Austin Senseman, CFA 5 years in Financial Services, Managed analytics for sales, marketing, risk, finance, &
What’s new in Tabular 2016? Polonychko Yevgen. SQLSat Kyiv Team Vitaliy Popovych Mykola Pobyivovk Yevhen Nedashkivskyi Olena Smoliak Oksana Borysenko.
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
Tooling Overview Author: Simon Nuss Date: May 2017.
Programming Patterns with BISM Tabular
Victoria Power BI User Group Meeting
45 Minutes to Your First Tabular Model
Building Tabular Models
An (Advanced) Introduction to DAX
45 Minutes to Your First Tabular Model
Power BI & SharePoint in the Real World
Power BI Performance Tips & Tricks
Relationship modeling patterns in SSAS and Power bi
Chelsea Dohemann Class will start at approximately 8:10am PowerPivot Chelsea Dohemann
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>
Visual C# 2005: IDE Enhancements
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
An (Advanced) Introduction to DAX
Cross UG Summit EMEA /6/2018 7:24 PM
Your friends / colleagues can watch this session Live on !
ABC! Always Be…. Coding (calculated measures)
SSAS Tabular Toolbelt Sergiy Lunyakin.
Introduction to SQL Server Analysis Services
Exam Braindumps
Toolkit for DAX Optimization
Boosting SSAS Productivity with Tabular Editor
Power BI Performance …Tips and Techniques.
11/11/2018 5:18 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
Evaluate the expression ( i) + ( i) and write the result in the form a + bi. Choose the answer from the following: i i i.
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
إستراتيجيات ونماذج التقويم
Power BI for large databases
Connected Animations Create seamless page transitions in the Fall Creators Update Steven Moyes Program Manager – User Experience Platform.
Evaluation Context Concepts and Examples.
Modeling scenarios for DAX
Data Modeling and Prototyping
Power BI with Analysis Services
Become a Power BI Superstar under 1 hour!
Introducing DAX July 11th, 2015.
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
DEV322 Visual Studio 2005 C# IDE Enhancements
Engine Part ID Part 1.
Dashboard in an Hour Using Power BI
Engine Part ID Part 2.
Engine Part ID Part 2.
Learning DAX? Five things to get you started fast
Thanks to All Sponsors Gold Sponsors Silver Sponsor Bronze Sponsor.
Become a Power BI Superstar under 1 hour!
Dax for most data professionals
Data Modeling and Prototyping
DAX: Functions and Context That’s What It’s All About!
Tomasz Gołaszewski DAX Filter Context.
Presentation transcript:

Evaluation Context in DAX Artur Konstantynov

Who am I (Power) BI Developer Lead of Kyiv Power BI User Group

Me and Power BI It was the first time I heard about Power BI I’d been working as Power BI developer and wanted to know more I knew what I need to know I'm sharing my knowledge

Agenda What is Context Row Context Filter Context Context switching

Clarification Direction Knowing the direction of each relationship is critical to understand Evaluation Context Type The Vertipaq (xVelocity) engine is optimized to work with ONE to type of relationship.

What is Context Albert Einstein. General theory of relativity or GTR.

Total Qty = SUM('Sales fact'[Quantity]) What is Context Total Qty = SUM('Sales fact'[Quantity])

Row Context Exists in calculated columns Exists in iterators and filter functions (SUMX, Filter etc.) Does not support relationships

Filter Context Exists in visualizations Automatically works with direction of filtering in relationships Appears in CALCULATE() function Measures contain a Filter Context

Evaluation Context switching CALCULATE() function It’s the only one function that can modify Context Can switch Row to Filter Context Every Measure contains Calculate Filter Context Functions (FILTER(), ALL() etc.) Direction of filtering and CROSSFILTER()

Demo

References https://docs.microsoft.com/en-us/dax/data-analysis-expressions-dax-reference https://docs.microsoft.com/en-us/dax/dax-overview#context Alberto Ferrari. Bidirectional relationships and ambiguity in DAX https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-dax/ Artur Konstantynov https://www.linkedin.com/in/artur-konstantynov-715861132/ DB Best https://www.dbbest.com/ Kyiv Power BI User Group https://www.pbiusergroup.com/communities/community-home?CommunityKey=67c55d49-f851-4a9f-90c2-32465971b13d/