0% found this document useful (0 votes)
45 views

Dax Function

The document discusses DAX, a formula language used to define custom calculations for Power Pivot data models. It is similar to Excel formulas but designed for relational data. Key points covered include using DAX to create calculated columns and measures, the difference between row and filter context, and important DAX concepts like measures and calculated columns.

Uploaded by

Ganesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Dax Function

The document discusses DAX, a formula language used to define custom calculations for Power Pivot data models. It is similar to Excel formulas but designed for relational data. Key points covered include using DAX to create calculated columns and measures, the difference between row and filter context, and important DAX concepts like measures and calculated columns.

Uploaded by

Ganesh Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

DAX-Data Analysis eXpression

• DAX is NOT a programming .


• Its syntax is similar to Excel Formulas
language. DAX is a formula
• It differs from Excel formulas in
language, You can use DAX to
key ways
define custom calculations
It is designed to work with
for Calculated Columns and
relational data, not data ranges
for Measures (also known as
calculated fields). DAX includes Where to Use DAX Formulas
some of the functions used in You can create formulas in Power Pivot
Excel formulas, and additional
functions designed to work with
Power either in calculated columns or in
calculated fields.
relational data and perform
dynamic aggregation. It helps you
to create new information from
Pivot • Used to
Create Measures
data already in your model. Calculated Columns
• Similar to Excel expression, but Query power Pivot
more powerful
Think of DAX as Excel Formula ++. An upgraded version of Excel formulas that can handle power
pivot data and give you the calculations you want.
DAX-Data Analysis eXpression
.

CALCULATED CALCULATED
COLUMNS MEASURES

IMPORTANT
CONCEPTS

ROW FILTER
CONTEXT CONTEXT
DAX-Data Analysis eXpression
.
Calculated Columns
Measures
A calculated column is just another column in a
• A measure is a formula for the values area of Power Pivot
table that you add to an existing Power Pivot
table.
table. Instead of pasting or importing values in
• A measure can be implicit or explicit
the column, you create a DAX formula that
Measures vs. Calculated Fields
defines the column values.
They both refer to the same thing in the context of Power
Evaluated in Row Context
Pivot. Up to Excel 2010 Power Pivot versions, Microsoft used
Measure as the official term.
For example, you can create one calculated
Starting Excel 2013, Measures became Calculated Fields.
column to extract Year from the existing
column – Date, with the DAX formula
=YEAR ([Date])
YEAR is a DAX function and Date is an existing Column labels
column in the table
Examples
• [Amount] = [Qty]*[Price]
• [Full Name]= [First name] & “ “& [Last name] Row Labels Values Area

Measures give us Values here by


running a DAX Formula in Background

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy