SlideShare a Scribd company logo
This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential,
or otherwise protected from disclosure. The information is intended to be for the addressee(s) only.
Data Analysis Expressions
About Me
▷14 years of experience in Data Analysis, Business
Intelligence, Project Management
▷Worked with Infosys, DuPont, Pfizer
▷Senior Manager with Cybage
▷Certified Machine Learning & Deep Learning
practitioner
Why are we here today?
▷Data Analysis Expressions (DAX)
▷Power Query
▷Power BI
▷Excel Dashboards
How this training will help?
Agenda
▷What is DAX?
▷Basic Operations: Functions,
Measures, Simple Operations
▷Advanced Operations
▷Exercises
What is DAX?
▷You will never hear it in references
▷Next generation data analysis on excel
▷Functional Formula Language
▷Inbuilt functions to perform various operations
on your data model
▷Reference from CELL to COLUMN
How DAX is different from excel?
▷ Similarities
• Certain functions have the
same name
• Look up functions in DAX are
similar to array and vector
lookup functions in excel
▷ Differences
• Input / Output formats may be
different
• Excel functions take cell
reference. DAX never takes cell
reference.
• Excel date/time functions
return integer. DAX date/time
returns in datetime format
• Excel cannot return tables
(except arrays)
Common Terminologies
▷ Expressions: Any DAX expression that returns a
single scalar value, where the expression is to be
evaluated multiple times
▷ Value : Any DAX expression that returns a single
scalar value where the expression is to be
evaluated exactly once before all other operations.
▷ Type: An enumeration used to determine the
data type for PathItem and PathItemReverse.
▷ Table, tableName, columnName, name, order
This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential,
or otherwise protected from disclosure. The information is intended to be for the addressee(s) only.
DAX Functions
DAX Functions
▷ DAX Filter Functions
▷ DAX Aggregation Functions
▷ DAX Time Intelligence
Functions
▷ DAX Date and Time Functions
▷ DAX Information Functions
▷ DAX Logical Functions
▷ DAX Statistical Functions
▷ DAX Other Functions
▷ DAX Parent and Child
Functions
▷ DAX Text Functions
▷ DAX Math and Trig
Functions
DAX Common Functions
▷ DAX Aggregation
Functions
▷ AVERAGE
▷ COUNT
▷ COUNTBLANK
▷ CROSSJOIN
▷ MAX/MIN
▷ PRODUCT
▷ SUM
▷ SUMMARIZE
▷ TOPN
▷ ROW
▷ SELECTCOLUMN
▷ DAX Filter Functions
▷ ALL/EXCEPT
▷ CALCULATE
▷ DISTINCT
▷ VALUES
▷ RELATED/TABLE
▷ HASONEVALUE
▷ HASONEFILTER
▷ EARLIER/EST
▷ CROSSFILTER
▷ DAX Time -
Intelligence Functions
▷ CLOSINGBALANCEMONTH/Q/Y
▷ DATESBETWEEN
▷ DATESINPERIOD
▷ ENDOFMONTH/QUARTER/YEAR
▷ FIRSTDATE / LASTDATE
▷ NEXTDAY/MONTH/QUARTER/YE
AR
▷ OPENINGBALANCEMONTH/Q/Y
▷ TOTALMTD/QTD/YTD
▷ SAMEPERIODLASTYEAR
DAX Common Functions
▷ DAX Date and
Time Functions
▷ HOUR / MINUTE / SECOND
▷ MONTH / YEAR
▷ TODAY / WEEKDAY
▷ CALENDAR
▷ DAX Logical
Functions
▷ AND
▷ FALSE / TRUE
▷ IF / IFERROR
▷ NOT
▷ OR
▷ SWITCH
▷ DAX Statistical
Functions
▷ BETA.DIST
▷ STDEV.P / STDEV.S
▷ MEDIAN
▷ PERCENTILE
▷ RANK
▷ DAX Information
Functions
▷ CONTAINS
▷ ISBLANK / ERROR / EVEN /
ODD
▷ ISEMPTY
▷ ISNONTEXT / NUMBER
DAX Other Functions
▷ DAX TEXT
Functions
DAX Text functions work with
tables and columns. With DAX
Text functions, you can return
part of a string, search for text
within a string or concatenate
string values. You can also
control the formats for dates,
times, and numbers.
▷ DAX Other
Functions
These DAX functions perform unique
actions that cannot be defined by any
of the categories most other functions
belong to
▷ EXCEPT
▷ GROUPBY
▷ UNION / INTERSECT
▷ DAX Math & Trig
Functions
DAX Mathematical and
Trigonometric functions are very
similar to the Excel mathematical
and trigonometric functions
▷ COS / SIN / TAN
▷ LOG
▷ POWER
▷ SQRT
▷ TRUNC
▷ ROUNDDOWN / UP
▷ DAX Parent/Child Functions
▷DAX Parent and Child functions are useful in managing data that is
presented as a parent/child hierarchy in the Data Model
▷PATH
▷PATHITEMS
This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential,
or otherwise protected from disclosure. The information is intended to be for the addressee(s) only.
Calculated Columns &
Measures
Calculated Columns
▷Represents a single value per row
▷Computed at time of creation/refresh
▷Results are materialized and stored with the table
▷Attached to a specific table
▷Normally can only see the row they exist in
Relates to the idea of row context
More on this later
▷Can be used in filters or values/results areas
Calculated Columns
▷GrossMargin = Sales[Price] – Sales[Cost]
Measures
▷Represents a single value per data model
▷Computed at run time
▷Results are dynamic, based on filters. This is called the filter context
▷Not attached to any table
▷Sees all the data at once
Measures
▷TotalQuantity := SUM(Sales[Quantity])
This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential,
or otherwise protected from disclosure. The information is intended to be for the addressee(s) only.
Approach
The Journey
Raw Data
Relationship
/ Model
Query
(Syntax)
Columns &
Measures
Charts &
Widgets
Data
Visualization
$$
This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential,
or otherwise protected from disclosure. The information is intended to be for the addressee(s) only.
Exercises
Any questions ?
Thank You!

More Related Content

What's hot

Understanding Power BI Data Model
Understanding Power BI Data ModelUnderstanding Power BI Data Model
Understanding Power BI Data Model
HARIHARAN R
 
Introduction to Tableau
Introduction to TableauIntroduction to Tableau
Introduction to Tableau
Kanika Nagpal
 
Data Warehouse Fundamentals
Data Warehouse FundamentalsData Warehouse Fundamentals
Data Warehouse Fundamentals
Rashmi Bhat
 
Tableau Prep.pptx
Tableau Prep.pptxTableau Prep.pptx
Tableau Prep.pptx
Venneladonthireddy1
 
Tableau Training For Beginners | Tableau Tutorial | Tableau Dashboard | Edureka
Tableau Training For Beginners | Tableau Tutorial  | Tableau Dashboard | EdurekaTableau Training For Beginners | Tableau Tutorial  | Tableau Dashboard | Edureka
Tableau Training For Beginners | Tableau Tutorial | Tableau Dashboard | Edureka
Edureka!
 
What are Tableau Functions? Edureka
What are Tableau Functions? EdurekaWhat are Tableau Functions? Edureka
What are Tableau Functions? Edureka
Edureka!
 
Power BI Zero to Hero by Rajat Jaiswal
Power BI Zero to Hero by Rajat JaiswalPower BI Zero to Hero by Rajat Jaiswal
Power BI Zero to Hero by Rajat Jaiswal
Indiandotnet
 
Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2
Arun K
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
Kishore Chaganti
 
OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
BI_Solutions
 
Tableau
TableauTableau
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Edureka!
 
Data Modeling with Power BI
Data Modeling with Power BIData Modeling with Power BI
Data Modeling with Power BI
Raul Martin Sarachaga Diaz
 
Tableau
TableauTableau
DAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power QueryDAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power Query
Will Harvey
 
Power BI - Power Query
Power BI - Power QueryPower BI - Power Query
Power BI - Power Query
Jerric Lyns John
 
Power query
Power queryPower query
Power query
Marco Pozzan
 
Tableau slideshare
Tableau slideshareTableau slideshare
Tableau slideshare
Sakshi Jain
 
Warehousing dimension star-snowflake_schemas
Warehousing dimension star-snowflake_schemasWarehousing dimension star-snowflake_schemas
Warehousing dimension star-snowflake_schemas
Eric Matthews
 
Power BI Advance Modeling
Power BI Advance ModelingPower BI Advance Modeling
Power BI Advance Modeling
CCG
 

What's hot (20)

Understanding Power BI Data Model
Understanding Power BI Data ModelUnderstanding Power BI Data Model
Understanding Power BI Data Model
 
Introduction to Tableau
Introduction to TableauIntroduction to Tableau
Introduction to Tableau
 
Data Warehouse Fundamentals
Data Warehouse FundamentalsData Warehouse Fundamentals
Data Warehouse Fundamentals
 
Tableau Prep.pptx
Tableau Prep.pptxTableau Prep.pptx
Tableau Prep.pptx
 
Tableau Training For Beginners | Tableau Tutorial | Tableau Dashboard | Edureka
Tableau Training For Beginners | Tableau Tutorial  | Tableau Dashboard | EdurekaTableau Training For Beginners | Tableau Tutorial  | Tableau Dashboard | Edureka
Tableau Training For Beginners | Tableau Tutorial | Tableau Dashboard | Edureka
 
What are Tableau Functions? Edureka
What are Tableau Functions? EdurekaWhat are Tableau Functions? Edureka
What are Tableau Functions? Edureka
 
Power BI Zero to Hero by Rajat Jaiswal
Power BI Zero to Hero by Rajat JaiswalPower BI Zero to Hero by Rajat Jaiswal
Power BI Zero to Hero by Rajat Jaiswal
 
Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2Tableau Visual analytics complete deck 2
Tableau Visual analytics complete deck 2
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
 
OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
 
Tableau
TableauTableau
Tableau
 
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
Tableau Tutorial For Beginners | Tableau Training For Beginners | Tableau Cer...
 
Data Modeling with Power BI
Data Modeling with Power BIData Modeling with Power BI
Data Modeling with Power BI
 
Tableau
TableauTableau
Tableau
 
DAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power QueryDAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power Query
 
Power BI - Power Query
Power BI - Power QueryPower BI - Power Query
Power BI - Power Query
 
Power query
Power queryPower query
Power query
 
Tableau slideshare
Tableau slideshareTableau slideshare
Tableau slideshare
 
Warehousing dimension star-snowflake_schemas
Warehousing dimension star-snowflake_schemasWarehousing dimension star-snowflake_schemas
Warehousing dimension star-snowflake_schemas
 
Power BI Advance Modeling
Power BI Advance ModelingPower BI Advance Modeling
Power BI Advance Modeling
 

Similar to Data Analysis Expressions (DAX) Training

Complete unit ii notes
Complete unit ii notesComplete unit ii notes
Complete unit ii notes
Benazir Fathima
 
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dan Lynn
 
Anatomy of Data Frame API : A deep dive into Spark Data Frame API
Anatomy of Data Frame API :  A deep dive into Spark Data Frame APIAnatomy of Data Frame API :  A deep dive into Spark Data Frame API
Anatomy of Data Frame API : A deep dive into Spark Data Frame API
datamantra
 
Lecture 1 and 2
Lecture 1 and 2Lecture 1 and 2
Lecture 1 and 2
SaheedTundeZubairSTA
 
Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016
Dan Lynn
 
Microsoft Power BI Online Training.pdf
Microsoft Power BI Online Training.pdfMicrosoft Power BI Online Training.pdf
Microsoft Power BI Online Training.pdf
SpiritsoftsTraining
 
Data Engineer vs Data Scientist vs Data Analyst.pptx
Data Engineer vs Data Scientist vs Data Analyst.pptxData Engineer vs Data Scientist vs Data Analyst.pptx
Data Engineer vs Data Scientist vs Data Analyst.pptx
CarolineRebeccaD
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
SHAHZAIBABBAS13
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
Akhtarzeb Khan
 
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionarySe 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
babak danyal
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
AliyahAli19
 
Data structure and algorithm Chapter_1.pdf
Data structure and algorithm Chapter_1.pdfData structure and algorithm Chapter_1.pdf
Data structure and algorithm Chapter_1.pdf
tasheebedane
 
Business analysis
Business analysisBusiness analysis
Business analysis
Dhilsath Fathima
 
Structured Data Extraction
Structured Data ExtractionStructured Data Extraction
Structured Data Extraction
KaustubhPatange2
 
14 functional design
14 functional design14 functional design
14 functional designrandhirlpu
 
Star schema
Star schemaStar schema
Basic terminologies & asymptotic notations
Basic terminologies & asymptotic notationsBasic terminologies & asymptotic notations
Basic terminologies & asymptotic notations
Rajendran
 
XMPro PivotGrid
XMPro PivotGridXMPro PivotGrid
XMPro PivotGridXMPRO
 
Tahoe Dreamin 2018: It simply works... until it breaks!
Tahoe Dreamin 2018: It simply works... until it breaks!Tahoe Dreamin 2018: It simply works... until it breaks!
Tahoe Dreamin 2018: It simply works... until it breaks!
Daniel Stange
 
Report for internship
Report for internshipReport for internship
Report for internshipSalman Khan
 

Similar to Data Analysis Expressions (DAX) Training (20)

Complete unit ii notes
Complete unit ii notesComplete unit ii notes
Complete unit ii notes
 
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
Dirty Data? Clean it up! - Rocky Mountain DataCon 2016
 
Anatomy of Data Frame API : A deep dive into Spark Data Frame API
Anatomy of Data Frame API :  A deep dive into Spark Data Frame APIAnatomy of Data Frame API :  A deep dive into Spark Data Frame API
Anatomy of Data Frame API : A deep dive into Spark Data Frame API
 
Lecture 1 and 2
Lecture 1 and 2Lecture 1 and 2
Lecture 1 and 2
 
Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016Dirty data? Clean it up! - Datapalooza Denver 2016
Dirty data? Clean it up! - Datapalooza Denver 2016
 
Microsoft Power BI Online Training.pdf
Microsoft Power BI Online Training.pdfMicrosoft Power BI Online Training.pdf
Microsoft Power BI Online Training.pdf
 
Data Engineer vs Data Scientist vs Data Analyst.pptx
Data Engineer vs Data Scientist vs Data Analyst.pptxData Engineer vs Data Scientist vs Data Analyst.pptx
Data Engineer vs Data Scientist vs Data Analyst.pptx
 
DFD.pptx
DFD.pptxDFD.pptx
DFD.pptx
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionarySe 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
Se 381 - lec 21 - 23 - 12 may09 - df-ds and data dictionary
 
DFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptxDFDs_and_Algorithms.pptx
DFDs_and_Algorithms.pptx
 
Data structure and algorithm Chapter_1.pdf
Data structure and algorithm Chapter_1.pdfData structure and algorithm Chapter_1.pdf
Data structure and algorithm Chapter_1.pdf
 
Business analysis
Business analysisBusiness analysis
Business analysis
 
Structured Data Extraction
Structured Data ExtractionStructured Data Extraction
Structured Data Extraction
 
14 functional design
14 functional design14 functional design
14 functional design
 
Star schema
Star schemaStar schema
Star schema
 
Basic terminologies & asymptotic notations
Basic terminologies & asymptotic notationsBasic terminologies & asymptotic notations
Basic terminologies & asymptotic notations
 
XMPro PivotGrid
XMPro PivotGridXMPro PivotGrid
XMPro PivotGrid
 
Tahoe Dreamin 2018: It simply works... until it breaks!
Tahoe Dreamin 2018: It simply works... until it breaks!Tahoe Dreamin 2018: It simply works... until it breaks!
Tahoe Dreamin 2018: It simply works... until it breaks!
 
Report for internship
Report for internshipReport for internship
Report for internship
 

Recently uploaded

一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 

Recently uploaded (20)

一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 

Data Analysis Expressions (DAX) Training

  • 1. This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. Data Analysis Expressions
  • 2. About Me ▷14 years of experience in Data Analysis, Business Intelligence, Project Management ▷Worked with Infosys, DuPont, Pfizer ▷Senior Manager with Cybage ▷Certified Machine Learning & Deep Learning practitioner
  • 3. Why are we here today? ▷Data Analysis Expressions (DAX) ▷Power Query ▷Power BI ▷Excel Dashboards
  • 4. How this training will help?
  • 5. Agenda ▷What is DAX? ▷Basic Operations: Functions, Measures, Simple Operations ▷Advanced Operations ▷Exercises
  • 6. What is DAX? ▷You will never hear it in references ▷Next generation data analysis on excel ▷Functional Formula Language ▷Inbuilt functions to perform various operations on your data model ▷Reference from CELL to COLUMN
  • 7. How DAX is different from excel? ▷ Similarities • Certain functions have the same name • Look up functions in DAX are similar to array and vector lookup functions in excel ▷ Differences • Input / Output formats may be different • Excel functions take cell reference. DAX never takes cell reference. • Excel date/time functions return integer. DAX date/time returns in datetime format • Excel cannot return tables (except arrays)
  • 8. Common Terminologies ▷ Expressions: Any DAX expression that returns a single scalar value, where the expression is to be evaluated multiple times ▷ Value : Any DAX expression that returns a single scalar value where the expression is to be evaluated exactly once before all other operations. ▷ Type: An enumeration used to determine the data type for PathItem and PathItemReverse. ▷ Table, tableName, columnName, name, order
  • 9. This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. DAX Functions
  • 10. DAX Functions ▷ DAX Filter Functions ▷ DAX Aggregation Functions ▷ DAX Time Intelligence Functions ▷ DAX Date and Time Functions ▷ DAX Information Functions ▷ DAX Logical Functions ▷ DAX Statistical Functions ▷ DAX Other Functions ▷ DAX Parent and Child Functions ▷ DAX Text Functions ▷ DAX Math and Trig Functions
  • 11. DAX Common Functions ▷ DAX Aggregation Functions ▷ AVERAGE ▷ COUNT ▷ COUNTBLANK ▷ CROSSJOIN ▷ MAX/MIN ▷ PRODUCT ▷ SUM ▷ SUMMARIZE ▷ TOPN ▷ ROW ▷ SELECTCOLUMN ▷ DAX Filter Functions ▷ ALL/EXCEPT ▷ CALCULATE ▷ DISTINCT ▷ VALUES ▷ RELATED/TABLE ▷ HASONEVALUE ▷ HASONEFILTER ▷ EARLIER/EST ▷ CROSSFILTER ▷ DAX Time - Intelligence Functions ▷ CLOSINGBALANCEMONTH/Q/Y ▷ DATESBETWEEN ▷ DATESINPERIOD ▷ ENDOFMONTH/QUARTER/YEAR ▷ FIRSTDATE / LASTDATE ▷ NEXTDAY/MONTH/QUARTER/YE AR ▷ OPENINGBALANCEMONTH/Q/Y ▷ TOTALMTD/QTD/YTD ▷ SAMEPERIODLASTYEAR
  • 12. DAX Common Functions ▷ DAX Date and Time Functions ▷ HOUR / MINUTE / SECOND ▷ MONTH / YEAR ▷ TODAY / WEEKDAY ▷ CALENDAR ▷ DAX Logical Functions ▷ AND ▷ FALSE / TRUE ▷ IF / IFERROR ▷ NOT ▷ OR ▷ SWITCH ▷ DAX Statistical Functions ▷ BETA.DIST ▷ STDEV.P / STDEV.S ▷ MEDIAN ▷ PERCENTILE ▷ RANK ▷ DAX Information Functions ▷ CONTAINS ▷ ISBLANK / ERROR / EVEN / ODD ▷ ISEMPTY ▷ ISNONTEXT / NUMBER
  • 13. DAX Other Functions ▷ DAX TEXT Functions DAX Text functions work with tables and columns. With DAX Text functions, you can return part of a string, search for text within a string or concatenate string values. You can also control the formats for dates, times, and numbers. ▷ DAX Other Functions These DAX functions perform unique actions that cannot be defined by any of the categories most other functions belong to ▷ EXCEPT ▷ GROUPBY ▷ UNION / INTERSECT ▷ DAX Math & Trig Functions DAX Mathematical and Trigonometric functions are very similar to the Excel mathematical and trigonometric functions ▷ COS / SIN / TAN ▷ LOG ▷ POWER ▷ SQRT ▷ TRUNC ▷ ROUNDDOWN / UP ▷ DAX Parent/Child Functions ▷DAX Parent and Child functions are useful in managing data that is presented as a parent/child hierarchy in the Data Model ▷PATH ▷PATHITEMS
  • 14. This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. Calculated Columns & Measures
  • 15. Calculated Columns ▷Represents a single value per row ▷Computed at time of creation/refresh ▷Results are materialized and stored with the table ▷Attached to a specific table ▷Normally can only see the row they exist in Relates to the idea of row context More on this later ▷Can be used in filters or values/results areas
  • 16. Calculated Columns ▷GrossMargin = Sales[Price] – Sales[Cost]
  • 17. Measures ▷Represents a single value per data model ▷Computed at run time ▷Results are dynamic, based on filters. This is called the filter context ▷Not attached to any table ▷Sees all the data at once
  • 19. This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. Approach
  • 20. The Journey Raw Data Relationship / Model Query (Syntax) Columns & Measures Charts & Widgets Data Visualization $$
  • 21. This document and all its contents contain information from Arocom Solutions Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. Exercises

Editor's Notes

  1. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  2. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  3. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  4. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  5. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  6. Common terminologies used are Power Query or Power BI Lets do some excel calculations How it changes in DAX
  7. If you use a calculated column as a value/result it creates an implicit measure