SlideShare a Scribd company logo
1 of 18
PASS
Chennai Power BI – August 2018CPBIG Monthly Webinar
DAX - 101
Hariharan Rajendran
Microsoft Certified Trainer
CPBIG
Sponsors
PASS
CPBIG
About Speaker
Hariharan
Lead Consultant, Your SQL Man (I) Pvt Ltd
Solution Expert in MSBI
Microsoft SQL Server, Azure & BI
SAP HANA & Business Objects
Speaker in DPS2017,DDD & CSSUG
Blog
http://dataap.org/author/hariharanr/
Twitter
@imhariharanr
Linked In
hariharan-r-12635640
Email
hari@yoursqlman.com
Group Leader
CPBIG
DAX
Data Analysis Expressions
Functional Language
• The execution flows with function calls.
This is for
• Power Pivot
• Power BI
• SSAS Tabular
CPBIG
Data Types
Integer – 64 bit
Decimal – floating point
Currency – Money
Date & Time
TRUE / FALSE – Boolean
String
Binary Objects
CPBIG
Data Type Conversion
 + = Integer ; & = String
Example
• “5” + “4” = 9
• 5 & 4 = 54
Internal type conversion
Operator overloading – Result depends on the inputs
Date – Floating Point Value
Date + 1 = ?
Date & 1= ?
CPBIG
DAX References
Table Reference
• ‘Date’ or Date
• ‘Sales Region’
Column Reference
• ‘Date’[Year]
• ‘Sales Region’[City]
Measure Reference
• [Total Sales]
CPBIG
Purpose of DAX
Calculated Columns
• Value is computed for each row
• Materialized in tables as a static column – It consumes memory
• It can be used for slicers and filters
• All rows contain same formula.
Calculated Measures
• Numeric calculation
• Not Materialized
• Dynamic – Does not consume memory
• Evaluated for each row based on the given context.
CPBIG
Navigation Functions
RELATED
• Follows the relationships and returns the
value of a column
• Single value as a result
RELATEDTABLE
• Follows relationships and returns all the rows
in relationship with the current row value.
CPBIG
Logical & Conditional Functions
Testing (Returns True &
False)
• ISBLANK
• ISERROR
• ISLOGICAL
• ISNONTEXT
• ISNUMBER
• ISTEXT
Logical
• AND
• IF
• IFERROR
• NOT
• OR
Example = 5+10+
IF(
ISNUMBER("A")=FALSE,"0","A“
)
CPBIG
Conditional Functions - SWITCH
Advantages over IF
• Easier to debug due to simpler code
• Easier to write
Checks for exact matches
• [MONTH]=1
TRUE()
• Allow range matches
CPBIGCPBIG
DEMO
CPBIG
Filter Context
Applied by Filter constraints
• Row and Column Headers
• Slicers and Filters
• DAX Formula Filters
CPBIG
Calculate Function
Apply a filter(s) to an expression
Ratios / Percent of Totals
• CALCULATE(<expression>, <filter1>, <filter2>…)
Expression – An aggregate
Filter – Override filter context
ResellerSales = CALCULATE([Total Sales], ‘store’[StoreType]=“Reseller”)
AllProductSales = CALCULATE([Total Sales], ALL(Product))
CPBIG
Time Intelligence
FIRSTDATE
LASTDATE
DATESBETWEEN
DATEADD
STARTOFMONTH
STARTOFQUARTER
STARTOFYEAR
ENDOFMONTH
ENDOFQUARTER
ENDOFYEAR
PARALLELPERIOD
PREVIOUSDAY
PREVIOUSMONTH
PREVIOUSQUARTER
PREVIOUSYEAR
NEXTDAY
NEXTMONTH
NEXTQUARTER
NEXTYEAR
DATESMTD
DATESQTD
DATESYTD
SAMEPERIODLASTYEAR
TOTALMTD
TOTALQTD
TOTALYTD
OPENINGBALANCEMONTH
OPENINGBALANCEQUARTER
OPENINGBALANCEYEAR
CLOSING….
CPBIGCPBIG
DEMO
CPBIG
Q & A
CPBIG
www.facebook.com/groups/CPBIG @ChennaiPowerBI bit.ly/ChennaiPowerBI
Upcoming Events - http://dataap.org/cpbig/events/
Thank You - நன்றி

More Related Content

What's hot

The Power of Business Intelligence
The Power of Business Intelligence The Power of Business Intelligence
The Power of Business Intelligence Eli Sabatier
 
MSBIP møde nr. 25 - Azure ML
MSBIP møde nr. 25 - Azure MLMSBIP møde nr. 25 - Azure ML
MSBIP møde nr. 25 - Azure MLDavid Bojsen
 
Augmenting Machine Learning with Databricks Labs AutoML Toolkit
Augmenting Machine Learning with Databricks Labs AutoML ToolkitAugmenting Machine Learning with Databricks Labs AutoML Toolkit
Augmenting Machine Learning with Databricks Labs AutoML ToolkitDatabricks
 
HQL over Tiered Data Warehouse
HQL over Tiered Data WarehouseHQL over Tiered Data Warehouse
HQL over Tiered Data WarehouseDataWorks Summit
 
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...Amazon Web Services
 
QCard: Dynamics AX and Atlas Reporting
QCard: Dynamics AX and Atlas ReportingQCard: Dynamics AX and Atlas Reporting
QCard: Dynamics AX and Atlas ReportingCandice T Arnold
 
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches Rui Romano
 
No REST till Production – Building and Deploying 9 Models to Production in 3 ...
No REST till Production – Building and Deploying 9 Models to Production in 3 ...No REST till Production – Building and Deploying 9 Models to Production in 3 ...
No REST till Production – Building and Deploying 9 Models to Production in 3 ...Databricks
 
Compelling SAS Reports/Dashboard/Applications with Rich Internet Applications
Compelling SAS Reports/Dashboard/Applications with Rich Internet ApplicationsCompelling SAS Reports/Dashboard/Applications with Rich Internet Applications
Compelling SAS Reports/Dashboard/Applications with Rich Internet Applicationssimienc
 
Learning to go with the Microsoft Flow - Ottawa
Learning to go with the Microsoft Flow - OttawaLearning to go with the Microsoft Flow - Ottawa
Learning to go with the Microsoft Flow - OttawaAdam Ochs
 
eazyBI for Planning and Budgeting
eazyBI for Planning and BudgetingeazyBI for Planning and Budgeting
eazyBI for Planning and BudgetingeazyBI
 
Building Modern APIs with GraphQL
Building Modern APIs with GraphQLBuilding Modern APIs with GraphQL
Building Modern APIs with GraphQLAmazon Web Services
 
Howtomakeyourown gi sdashboard
Howtomakeyourown gi sdashboardHowtomakeyourown gi sdashboard
Howtomakeyourown gi sdashboardGeoMedeelel
 
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...Databricks
 
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)AWS re:Invent 2016: Taking Data to the Extreme (MBL202)
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)Amazon Web Services
 

What's hot (20)

North Point Geographic Solutions - ArcPAD SQL Server
North Point Geographic Solutions - ArcPAD SQL ServerNorth Point Geographic Solutions - ArcPAD SQL Server
North Point Geographic Solutions - ArcPAD SQL Server
 
The Power of Business Intelligence
The Power of Business Intelligence The Power of Business Intelligence
The Power of Business Intelligence
 
MSBIP møde nr. 25 - Azure ML
MSBIP møde nr. 25 - Azure MLMSBIP møde nr. 25 - Azure ML
MSBIP møde nr. 25 - Azure ML
 
Hadoop Data Warehouse
Hadoop Data WarehouseHadoop Data Warehouse
Hadoop Data Warehouse
 
Augmenting Machine Learning with Databricks Labs AutoML Toolkit
Augmenting Machine Learning with Databricks Labs AutoML ToolkitAugmenting Machine Learning with Databricks Labs AutoML Toolkit
Augmenting Machine Learning with Databricks Labs AutoML Toolkit
 
HQL over Tiered Data Warehouse
HQL over Tiered Data WarehouseHQL over Tiered Data Warehouse
HQL over Tiered Data Warehouse
 
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...
Instrumenting Application Stack in a Dynamically Scaling Environment (DMG212)...
 
QCard: Dynamics AX and Atlas Reporting
QCard: Dynamics AX and Atlas ReportingQCard: Dynamics AX and Atlas Reporting
QCard: Dynamics AX and Atlas Reporting
 
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
 
Introduction to GraphQL
Introduction to GraphQLIntroduction to GraphQL
Introduction to GraphQL
 
No REST till Production – Building and Deploying 9 Models to Production in 3 ...
No REST till Production – Building and Deploying 9 Models to Production in 3 ...No REST till Production – Building and Deploying 9 Models to Production in 3 ...
No REST till Production – Building and Deploying 9 Models to Production in 3 ...
 
Compelling SAS Reports/Dashboard/Applications with Rich Internet Applications
Compelling SAS Reports/Dashboard/Applications with Rich Internet ApplicationsCompelling SAS Reports/Dashboard/Applications with Rich Internet Applications
Compelling SAS Reports/Dashboard/Applications with Rich Internet Applications
 
Learning to go with the Microsoft Flow - Ottawa
Learning to go with the Microsoft Flow - OttawaLearning to go with the Microsoft Flow - Ottawa
Learning to go with the Microsoft Flow - Ottawa
 
Oracle hyperion essbase
Oracle hyperion essbaseOracle hyperion essbase
Oracle hyperion essbase
 
eazyBI for Planning and Budgeting
eazyBI for Planning and BudgetingeazyBI for Planning and Budgeting
eazyBI for Planning and Budgeting
 
Building Modern APIs with GraphQL
Building Modern APIs with GraphQLBuilding Modern APIs with GraphQL
Building Modern APIs with GraphQL
 
Power BI
Power BIPower BI
Power BI
 
Howtomakeyourown gi sdashboard
Howtomakeyourown gi sdashboardHowtomakeyourown gi sdashboard
Howtomakeyourown gi sdashboard
 
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
 
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)AWS re:Invent 2016: Taking Data to the Extreme (MBL202)
AWS re:Invent 2016: Taking Data to the Extreme (MBL202)
 

Similar to DAX - 101

AgensGraph Presentation at PGConf.us 2017
AgensGraph Presentation at PGConf.us 2017AgensGraph Presentation at PGConf.us 2017
AgensGraph Presentation at PGConf.us 2017Kisung Kim
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...Cambridge Semantics
 
Zipline - A Declarative Feature Engineering Framework
Zipline - A Declarative Feature Engineering FrameworkZipline - A Declarative Feature Engineering Framework
Zipline - A Declarative Feature Engineering FrameworkDatabricks
 
Why MongoDB over other Databases - Habilelabs
Why MongoDB over other Databases - HabilelabsWhy MongoDB over other Databases - Habilelabs
Why MongoDB over other Databases - HabilelabsHabilelabs
 
Latest Features in Power BI
Latest Features in Power BILatest Features in Power BI
Latest Features in Power BIHARIHARAN R
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceCambridge Semantics
 
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...Microsoft TechNet - Belgium and Luxembourg
 
Improve power bi performance
Improve power bi performanceImprove power bi performance
Improve power bi performanceAnnie Xu
 
Fifth elephant-grill
Fifth elephant-grillFifth elephant-grill
Fifth elephant-grillamarsri
 
General 05 integration design vs migration design
General 05   integration design vs migration designGeneral 05   integration design vs migration design
General 05 integration design vs migration designScribe Software Corp.
 
Exciting Features for SQL Devs in SQL 2012
Exciting Features for SQL Devs in SQL 2012Exciting Features for SQL Devs in SQL 2012
Exciting Features for SQL Devs in SQL 2012Brij Mishra
 
AWS Webcast - Build high-scale applications with Amazon DynamoDB
AWS Webcast - Build high-scale applications with Amazon DynamoDBAWS Webcast - Build high-scale applications with Amazon DynamoDB
AWS Webcast - Build high-scale applications with Amazon DynamoDBAmazon Web Services
 
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...apidays
 
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...Datavail
 
Grill at HadoopSummit
Grill at HadoopSummitGrill at HadoopSummit
Grill at HadoopSummitamarsri
 
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...Amazon Web Services
 
Write Generic Code with the Tooling API
Write Generic Code with the Tooling APIWrite Generic Code with the Tooling API
Write Generic Code with the Tooling APIAdam Olshansky
 
Pivotal OSS meetup - MADlib and PivotalR
Pivotal OSS meetup - MADlib and PivotalRPivotal OSS meetup - MADlib and PivotalR
Pivotal OSS meetup - MADlib and PivotalRgo-pivotal
 

Similar to DAX - 101 (20)

AgensGraph Presentation at PGConf.us 2017
AgensGraph Presentation at PGConf.us 2017AgensGraph Presentation at PGConf.us 2017
AgensGraph Presentation at PGConf.us 2017
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
 
Zipline - A Declarative Feature Engineering Framework
Zipline - A Declarative Feature Engineering FrameworkZipline - A Declarative Feature Engineering Framework
Zipline - A Declarative Feature Engineering Framework
 
Why MongoDB over other Databases - Habilelabs
Why MongoDB over other Databases - HabilelabsWhy MongoDB over other Databases - Habilelabs
Why MongoDB over other Databases - Habilelabs
 
Latest Features in Power BI
Latest Features in Power BILatest Features in Power BI
Latest Features in Power BI
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data Science
 
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
 
Improve power bi performance
Improve power bi performanceImprove power bi performance
Improve power bi performance
 
Fifth elephant-grill
Fifth elephant-grillFifth elephant-grill
Fifth elephant-grill
 
General 05 integration design vs migration design
General 05   integration design vs migration designGeneral 05   integration design vs migration design
General 05 integration design vs migration design
 
PBI WT DAX AnaBisbe.pptx
PBI WT DAX AnaBisbe.pptxPBI WT DAX AnaBisbe.pptx
PBI WT DAX AnaBisbe.pptx
 
Exciting Features for SQL Devs in SQL 2012
Exciting Features for SQL Devs in SQL 2012Exciting Features for SQL Devs in SQL 2012
Exciting Features for SQL Devs in SQL 2012
 
AWS Webcast - Build high-scale applications with Amazon DynamoDB
AWS Webcast - Build high-scale applications with Amazon DynamoDBAWS Webcast - Build high-scale applications with Amazon DynamoDB
AWS Webcast - Build high-scale applications with Amazon DynamoDB
 
AWS DynamoDB and Schema Design
AWS DynamoDB and Schema DesignAWS DynamoDB and Schema Design
AWS DynamoDB and Schema Design
 
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...
APIdays Helsinki 2019 - Beyond REST: GraphQL API Management with Amit Acharya...
 
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
SQL Pass Summit Presentations from Datavail - Optimize SQL Server: Query Tuni...
 
Grill at HadoopSummit
Grill at HadoopSummitGrill at HadoopSummit
Grill at HadoopSummit
 
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...
AWS re:Invent 2016| DAT318 | Migrating from RDBMS to NoSQL: How Sony Moved fr...
 
Write Generic Code with the Tooling API
Write Generic Code with the Tooling APIWrite Generic Code with the Tooling API
Write Generic Code with the Tooling API
 
Pivotal OSS meetup - MADlib and PivotalR
Pivotal OSS meetup - MADlib and PivotalRPivotal OSS meetup - MADlib and PivotalR
Pivotal OSS meetup - MADlib and PivotalR
 

More from HARIHARAN R

Power BI Admin Features & REST API
Power BI Admin Features & REST APIPower BI Admin Features & REST API
Power BI Admin Features & REST APIHARIHARAN R
 
Power BI Publisher
Power BI Publisher Power BI Publisher
Power BI Publisher HARIHARAN R
 
Integrating flow and power apps with power bi
Integrating flow and power apps with power biIntegrating flow and power apps with power bi
Integrating flow and power apps with power biHARIHARAN R
 
Real time analytics with Power BI
Real time analytics with Power BIReal time analytics with Power BI
Real time analytics with Power BIHARIHARAN R
 
A Deep Dive into to Power BI - level 2
A Deep Dive into to Power BI - level 2A Deep Dive into to Power BI - level 2
A Deep Dive into to Power BI - level 2HARIHARAN R
 
SQL Server Reporting Services 2016 Features
SQL Server Reporting Services 2016 FeaturesSQL Server Reporting Services 2016 Features
SQL Server Reporting Services 2016 FeaturesHARIHARAN R
 
CPBIG - A Deep Dive into Power BI
CPBIG - A Deep Dive into Power BICPBIG - A Deep Dive into Power BI
CPBIG - A Deep Dive into Power BIHARIHARAN R
 
Azure Stream Analytics - Webinar
Azure Stream Analytics - WebinarAzure Stream Analytics - Webinar
Azure Stream Analytics - WebinarHARIHARAN R
 
Azure Logic, API & Mobile Apps
Azure Logic, API & Mobile AppsAzure Logic, API & Mobile Apps
Azure Logic, API & Mobile AppsHARIHARAN R
 
Azure Data Factory
Azure Data FactoryAzure Data Factory
Azure Data FactoryHARIHARAN R
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BIHARIHARAN R
 
Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016HARIHARAN R
 

More from HARIHARAN R (14)

Power BI Admin Features & REST API
Power BI Admin Features & REST APIPower BI Admin Features & REST API
Power BI Admin Features & REST API
 
Power BI Publisher
Power BI Publisher Power BI Publisher
Power BI Publisher
 
Integrating flow and power apps with power bi
Integrating flow and power apps with power biIntegrating flow and power apps with power bi
Integrating flow and power apps with power bi
 
Real time analytics with Power BI
Real time analytics with Power BIReal time analytics with Power BI
Real time analytics with Power BI
 
A Deep Dive into to Power BI - level 2
A Deep Dive into to Power BI - level 2A Deep Dive into to Power BI - level 2
A Deep Dive into to Power BI - level 2
 
SQL Server Reporting Services 2016 Features
SQL Server Reporting Services 2016 FeaturesSQL Server Reporting Services 2016 Features
SQL Server Reporting Services 2016 Features
 
CPBIG - A Deep Dive into Power BI
CPBIG - A Deep Dive into Power BICPBIG - A Deep Dive into Power BI
CPBIG - A Deep Dive into Power BI
 
Azure Stream Analytics - Webinar
Azure Stream Analytics - WebinarAzure Stream Analytics - Webinar
Azure Stream Analytics - Webinar
 
Azure Logic, API & Mobile Apps
Azure Logic, API & Mobile AppsAzure Logic, API & Mobile Apps
Azure Logic, API & Mobile Apps
 
Azure Data Factory
Azure Data FactoryAzure Data Factory
Azure Data Factory
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BI
 
Azure search
Azure searchAzure search
Azure search
 
Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016Analytics with R in SQL Server 2016
Analytics with R in SQL Server 2016
 
Azure catalog
Azure catalogAzure catalog
Azure catalog
 

Recently uploaded

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

DAX - 101

Editor's Notes

  1. Single function code.
  2. 1. Sales Amount -- computed for row by row -- Memory -- Product[Price] The value of the price column from the product table for the current row Different for each row 2. Profit Margin -- Calculated column -- Calculated measure
  3. 1. Sales Amount -- computed for row by row -- Memory -- Product[Price] The value of the price column from the product table for the current row Different for each row 2. Profit Margin -- Calculated column -- Calculated measure
  4. Calculate essentially allows you to filter or set of filter s to an expression
  5. 1. Sales Amount -- computed for row by row -- Memory -- Product[Price] The value of the price column from the product table for the current row Different for each row 2. Profit Margin -- Calculated column -- Calculated measure