86% found this document useful (7 votes)
8K views3 pages

Power Bi Formulas

This document provides a summary of common DAX formulas used in Power BI for categories such as basic calculations, interactive calculations, logic, text manipulation, dates, filters and related functions. It lists over 30 different DAX functions along with their syntax and brief descriptions.
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
86% found this document useful (7 votes)
8K views3 pages

Power Bi Formulas

This document provides a summary of common DAX formulas used in Power BI for categories such as basic calculations, interactive calculations, logic, text manipulation, dates, filters and related functions. It lists over 30 different DAX functions along with their syntax and brief descriptions.
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 formulas for

Power BI
Catego Formula Syntax
ry


SUM =SUM(Column)


AVERAGE =AVERAGE(Column)


MAX =MAX(Column)


MIN =MIN(Column)

COUNT =COUNT(Column)
Basic
COUNTA =COUNTA(Column)

COUNTROWS =COUNTROWS(Column)

DISTINCTCOUNT =DISTINCTCOUNT(Column)

SUMX =SUMX(Table;Expression)

AVERAGEX =AVERAGEX(Table;Expression)


MAXX =MAXX(Table;Expression)

Iteracti MINX =MINX(Table;Expression)


ve
COUNTX =COUNTX(Table;Expression)

IF =IF(Test;True; False)

IFERROR =IFERROR(Expression;Error)


AND =E(Condition1; Condition2)


OR =OU(Condition 1; Condition 2)


TRUE =TRUE()

Logic FALSE =FALSE()


CONCATENATE =CONCATENATE(Column1;Column2)

LEFT =LEFT(Column1; Number of chatacters)

RIGHT =RIGHT(Column1; Number of chatacters)

MID =MID(Column1; Intial position; Number of chatacters)

=UPPER(Column1)
UPPER

LOWER =LOWER(Column1)


LEN =LEN(Column1)


SEARCH =SEARCH(Text; Column1; [Intial position]; [Value if don't
find])
Text
SUBSTITUTE
=SUBSTITUTE(Column1;Old text; New text; [Occurrance])

TRIM =TRIM(Column1)

DAY =DAY(Column1)

MONTH =MONTH(Column1)

YEAR =YEAR(Column1)

=TODAY()
TODAY
=WEEKDAY(Column1;[Type])
WEEKDAY


WEEKNUM =WEEKNUM(Column1;[Type])


HOUR =HOUR(Column1)


MINUTE =MINUTE(Column1)

Date SECOND =SECOND(Column1)

NOW =NOW()

DATEDIFF =DATEDIFF(Date1; Date2; Type)

CALCULATE =CALCULATE(Expression; Filter1; [Filter2];...)


FILTER =FILTER(Table;Filter1;[Filter2];...)

Filter ALL =ALL(Table;[Column1];...)

RELATED =RELATED(Column1)

You might also like