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

DAX Formula Reference Guide

Uploaded by

medogipo
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)
64 views

DAX Formula Reference Guide

Uploaded by

medogipo
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/ 5

A FORMULA GUIDE

DAX
DATA ANALYSIS EXPRESSIONS

SAARAL SENTHILNATHAN
INTRODUCTION
As data-driven decision-making continues to
grow in importance, mastering data analysis
tools like Power BI becomes essential.

DAX (Data Analysis Expressions) is the


powerful formula language used in Power BI
to perform calculations and data
manipulation.

This cheat sheet is your handy companion


when working with DAX formulas and
statements in Power BI, providing clear and
concise explanations to help you understand
their application.

Whether you're a beginner looking to get


started with DAX or an experienced user
wanting to refresh your knowledge, this
glossary aims to enhance your data analysis
skills. Dive in to explore the functions that
can transform your data insights!

saaral senthilnathan
OUTLINE
Math & Statistical Functions 4

Filter functions 6

Logical functions 7

Date & time functions 8

Time intelligence functions 9

Relationship functions 10

Table manipulation functions 11

Text functions 13

Information functions 15

DAX Statements 16

DAX Operators 17

saaral senthilnathan
04
MATH & STATISTICAL
FUNCTIONS
SUM(<column>) Adds all the numbers in a
column.

SUMX (<table>, <expression>) Returns the


sum of an expression evaluated for each row
in a table.

AVERAGE (<column>) Returns the average


(arithmetic mean) of all the numbers in a
column.

AVERAGEX(<table>, <expression>) Calculates


the average (arithmetic mean) of a set of
expressions evaluated over a table.

MEDIAN (<column>) Returns the median of a


column.

MEDIANX (<table>, <expression>) Calculates


the median of a set of expressions evaluated
over a table.

GEOMEAN (<column>) Calculates the


geometric mean of a column.

GEOMEANX (<table>, <expression>)


Calculates the geometric mean of a set of
expressions evaluated over a table.

saaral senthilnathan
05

COUNT(<column>) Returns the number of


cells in a column that contain non-blank
values.

COUNTX(<table>, <expression>) Counts the


number of rows from an expression that
evaluates to a non-blank value.

DIVIDE (<numerator>, <denominator> [,


<alternate result>]) Performs division and
returns alternate result or BLANK () on
division by 0.

MIN(<column>) Returns a minimum value of a


Check out my profile
column.
for full pdf
MAX(<column>) Returns a maximum value of
a column.

COUNTROWS ([<table>]) Counts the number


of rows in a table.

DISTINCTCOUNT(<column>) Counts the


number of distinct values in a column.

RANKX(<table>, <expression> [, <value> [,


<order>[, <ties>]]]) Returns the ranking of a
number in a list of numbers for each row in
the table argument.

saaral senthilnathan

You might also like