Introduction to DAX Mike Davis, Consultant Architect.

Slides:



Advertisements
Similar presentations
Copyright © 2013 Pearson Education, Inc. publishing as Prentice Hall2-1.
Advertisements

Reporting In Visual Studio 2005 An in-depth look at Reporting Internals Vijay Shandilya Software Engineer.NET Elite Team Aithent Technology.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Implementing Business Analytics with MDX Chris Webb London September 29th.
Mary K. Olson PS Reporting Instance – Query Tool 101.
DAX uses a syntax similar to Excel TableX [ColY] or [ColY] (fully qualified vs. not qualified) Cells cannot be referenced (like B23, B12:C15, …)
Introduction to Microsoft Excel
Tutorial 8: Working with Advanced Functions
IManage – New Table Option For better sorting, filtering and sorting.
Chapter 06: Lecture Notes (CSIT 104) 1 Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved.
Chapter 9 Creating Formulas that Manipulate Text Microsoft Office Excel 2003.
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL.
Powerpoint Templates Page 1 Powerpoint Templates MS Excel Functions.
Microsoft Office Excel 2013 ® ® Abdul Hameed Using Advanced Functions and Conditional Formatting.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Chapter 6 Data Tables and Amortization Tables Exploring Microsoft Office Excel 2007.
Oracle 11g: SQL Chapter 10 Selected Single-Row Functions.
Intro to SQL Management Studio. Please Be Sure!! Make sure that your access is read only. If it isn’t, you have the potential to change data within your.
EXCEL Intro to Microsoft Excel. Objectives for the Week Content ObjectivesLanguage Objectives I can create and manipulate charts, graphs, and reports.
Highline Class, BI 348 Basic Business Analytics using Excel Introduction to PowerPivot 1.
Page 1 Excel Text Functions MGMI 311. Page 2 Data Structure Text is Excel = Array of Characters = String (when coding) Text Function  Array Operation.
1 CSE Computer Use: Fundamentals Week 5: Glade Manual Chapter 4 Gates and Circuits (Dale & Lewis Ch. 4)
 Enhance understanding of logical functions.  Discuss using conditional logic focusing on: ◦ IF ◦ SUMIF(s) ◦ COUNTIF(s) ◦ AVERAGEIF(s)  While waiting.
IFS180 Intro. to Data Management Chapter 13 – Grouping Data.
Steve Doig Arizona State University USA Excel for Journalists.
@CRMUG Get2Know CRM 2015 Covering the Field(s) - Rollup and Calculated Style.
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, &
SQL - Training Rajesh Charles. Agenda (Complete Course) Introduction Testing Methodologies Manual Testing Practical Workshop Automation Testing Practical.
Taking Analysis Services Tabular to Enterprise Levels Stacia Varga Data Inspirations
John Tran Business Program Manager, The Suddath Companies
Presenter Date | Location
SQL SQL Ayshah I. Almugahwi Maryam J. Alkhalifa
MSAA PRESENTS: AN EXCEL TUTORIAL
Building Tabular Models
Contents Introduction Text functions Logical functions
Elena Lazarevska, City of Boulder
TRACKER Contents Intro Excel 101 Math Operations Formulas 101.
An (Advanced) Introduction to DAX
Let’s Build a Tabular Model in Azure
Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha
Chelsea Dohemann Class will start at approximately 8:10am PowerPivot Chelsea Dohemann
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL
Adam Little Catharine Reeder
An (Advanced) Introduction to DAX
Cross UG Summit EMEA /6/2018 7:24 PM
Module 11: Introduction to DAX Module 11 Introduction to DAX
Analyzing Data Using Formulas
Microsoft Power BI Bootcamp
Microsoft Dynamics GP SmartList Builder: Going all the Way
Introduction to SQL Server Analysis Services
Using SQL to Prepare Data for Analysis
Intro. to Spreadsheets Using Microsoft Excel
Prof: Dr. Shu-Ching Chen TA: Yimin Yang
Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha
WELCOME Howzit Sawubona.
SQL LANGUAGE and Relational Data Model TUTORIAL
Evaluation Context Concepts and Examples.
Chapter 4 Summary Query.
Prof: Dr. Shu-Ching Chen TA: Haiman Tian
Modeling scenarios for DAX
Data Analysis Expressions in PowerPivot for Excel 2010
Contents Preface I Introduction Lesson Objectives I-2
Query Functions.
Introducing DAX July 11th, 2015.
Let’s Build a Tabular Model in Azure
Intro to Excel CSCI-150.
MS Excel – Analyzing Data
Links Launch Outlook Place Skype on Do Not Disturb.
Annoyed with a stubborn pivot table? PowerPivot is your answer.
Introduction to SQL Server and the Structure Query Language
Presentation transcript:

Introduction to DAX Mike Davis, Consultant Architect

Your Presenter Mike Davis BI Architect MDavis@Pragmaticworks.com Intro to Dax Your Presenter Mike Davis BI Architect MDavis@Pragmaticworks.com MikeDavisSQL.com Co-author of 5 SQL Books

Example of a page header Intro to DAX Agenda What is DAX? Basic Functions Calculations Measures

Data Analysis Expression Language Intro to Dax What is DAX Data Analysis Expression Language Calculated Measures Calculated Columns Calculated Tables Why DAX? Similar to Excel Expressions Leverage knowledge of Excel Expressions Less of a learning curve

Basic Functions String Manipulation Intro to Dax Basic Functions String Manipulation Formatting FORMAT Concatenating CONCATENATE Casing LOWER UPPER Trimming LEFT RIGHT Splitting MID Searching SEARCH FIND Replacing REPLACE SUBSTITUTE

Conditional and Logical Functions Intro to Dax Conditional and Logical Functions Testing (True/False) ISBLANK ISERROR ISNONTEXT ISNUMBER ISTEXT Logical AND OR NOT IF IFERROR

Creating Calculated Columns Using String Functions Intro to Dax Demo Creating Calculated Columns Using String Functions Using Logical Functions Show intellisense Full Name Col & Age (datediff) Age Groups = if nested ( 55+, 45-54, 35-44, 18-34) Matching Parenthesis ) Multi line Shift+Enter

Review Understand DAX Basics Concatenate “&” Conditional Logic Intro to Dax Review Understand DAX Basics Concatenate “&” Conditional Logic Nested If’s Use “&&” for And

Navigation Functions RELATED RELATEDTABLE Intro to Dax Move one column to another, kind of like a vlookup Whiteboard tables Go Over Hierarchies

Demo RELATED RELATEDTABLE SumX Navigation Intro to Dax Import and use Temperature Key Related Region & Related monthnum Related Table – Put SalesAmt on Sales Terr – High Vol region SumX(RelatedTable(sales), SalesAmt) Region Volume = if sales > 1,000,000 high, low)

Intro to Dax Review Related RelatedTable SumX Navigation

Calculated Tables Create a Date Table Filtered Down Tables Intro to Dax Calculated Tables Create a Date Table Filtered Down Tables

Creating Calculated Tables Intro to Dax Demo Creating Calculated Tables Create Date Table Show Set as Date Table Calendar ( startDate, EndDate) 1/1/2015 – 12/31/02018 Parse out Month , year, MonthName,

Intro to Dax Review Calculated Table Built a Date Table

Calculated Measures Implicit Measures Default Aggregations Intro to Dax Calculated Measures Implicit Measures Default Aggregations Numeric Columns

Avoid Implicit Measures Intro to Dax Calculated Measures Implicit Measures Default Aggregations Explicit Measures User Defined Formulas Avoid Implicit Measures Explicit can Build on each other Explicit can be controlled

Intro to Dax Aggregations Average Count CountRows Max Min Sum SumX

Creating Calculated Measures Intro to Dax Demo Creating Calculated Measures Show Icon in field list Sum Internet sales Sum cost Profit = Sales – cost Profit Margin = Profit /Sales Explain Divide Function US Profit = Calculate ( profit , country = US) Show Quick Measure

Intro to Dax Review Calculated Measures Implicit vs explicit

Wrap up Mdavis@PragmaticWorks.com PragmaticWorks.com Consulting Intro to Dax Wrap up Mdavis@PragmaticWorks.com PragmaticWorks.com Consulting Training

Pragmatic Works Training Bootcamps Week long deep-dive Workshops One-day training primer On-Demand Training Web-based subscription training Special On-Demand Training discount for Azure Data Week attendees to get $100 off a 12-month Elite subscription. AzureDataWeek