List of Powerpivot Dax Functions With Description: Date and Time Functions
List of Powerpivot Dax Functions With Description: Date and Time Functions
Vote 5 Rate
INFORMATION FUNCTIONS
Function Description
ISBLANK(<value>) Checks whether a value is blank, and returns TRUE or FALSE.
ISERROR(<value>) Checks whether a value is an error, and returns TRUE or FALSE.
ISLOGICAL Checks whether a value is a logical value, (TRUE or FALSE), and returns
(<value>) TRUE or FALSE.
ISNONTEXT Checks whether a value is not text (blank cells are not text), and
(<value>) returns TRUE or FALSE.
ISNUMBER
Checks whether a value is a number, and returns TRUE or FALSE.
(<value>)
ISTEXT(<value>) Checks whether a value is text, and returns TRUE or FALSE.
LOGICAL FUNCTIONS
Function Description
Checks whether all arguments are TRUE, and returns
AND(<logical1>,<logical2>,…)
TRUE if all arguments are TRUE.
FALSE() Returns the logical value FALSE.
Checks if a condition provided as the first argument is
IF(logical_test>,<value_if_true>,
met. Returns one value if the condition is TRUE, and
value_if_false)
returns another value if the condition is FALSE.
Returns value_if_error if the first expression is an error
IFERROR(value, value_if_error)
and the value of the expression itself if otherwise.
NOT(<logical>) Changes FALSE to TRUE, or TRUE to FALSE.
TRUE() Returns the logical value TRUE.
Checks whether one of the arguments is TRUE to
OR(<logical1>,<logical2>,…) return TRUE. The function returns FALSE if all
arguments are FALSE
STATISTICAL FUNCTIONS
Function Description
Returns the average (arithmetic mean) of all the numbers in a
AVERAGE(<column>)
column.
Returns the average (arithmetic mean) of the values in a column.
AVERAGEA(<column>)
Handles text and non-numeric values.
AVERAGEX(<table>, Calculates the average (arithmetic mean) of a set of expressions
<expression>) evaluated over a table
The COUNT function counts the number of cells in a column that
COUNT(<column>)
contain numbers.
The COUNTA function counts the number of cells in a column that
COUNTA(<column>)
are not empty.
COUNTAX(<table>, The COUNTAX function counts nonblank results when evaluating
<expression>) the result of an expression over a table.
COUNTBLANK
Counts the number of blank cells in a column.
(<column>)
The COUNTROWS function counts the number of rows in the
COUNTROWS(<table>)
specified table, or in a table defined by an expression.
Counts the number of rows that contain a number or an expression
COUNTX(<table>,
that evaluates to a number, when evaluating an expression over a
<expression>)
table.
MAX(<column>) Returns the largest numeric value in a column.
Returns the largest value in a column. Logical values and blanks
MAXA(<column>)
are counted.
MAXX(<table>, Evaluates an expression for each row of a table and returns the
<expression>) largest numeric value.
Returns the smallest numeric value in a column. Ignores logical
MIN(<column>)
values and text.
Returns the smallest value in a column, including any logical values
MINA(<column>)
and numbers represented as text.
MINX(<table>, < Returns the smallest numeric value that results from evaluating an
expression>) expression for each row of a table.
SUM(<column>) Adds all the numbers in a column.
SUMX(<table>,
Returns the sum of an expression evaluated for each row in a table.
<expression>)
TEXT FUNCTIONS
Function Description
Returns a numeric code for the first character in a text string,
CODE(<text>)
in the character set used by your computer.
The CONCATENATE function joins multiple text strings into one
text string. The joined items can be text, numbers or Boolean
CONCATENATE(<text1>,
values represented as text, or a combination of those items.
<text2>,…)
You can also use a column reference if the column contains
appropriate values.
Compares two text strings and returns TRUE if they are exactly
the same, FALSE otherwise. EXACT is case-sensitive but
EXACT(<text1>,<text2>)
ignores formatting differences. You can use EXACT to test text
being entered into a document.
FIND(<find_text, Returns the starting position of one text string within another
within_text, start_num) text string. FIND is case-sensitive.
FIXED(<number>, Rounds a number to the specified number of decimals and
<decimals>, returns the result as text. You can specify that the result be
<no_commas>) returned with or without commas.
LEFT(<text>, Returns the specified number of characters from the start of a
<num_chars>) text string.
LEN(<text>) Returns the number of characters in a text string.
LOWER(<text>) Converts all letters in a text string to lowercase.
MID(<text>, <start_num>, Returns a string of characters from the middle of a text string,
<num_chars>) given a starting position and length.
REPLACE(<old_text>,
<start_num>, REPLACE replaces part of a text string, based on the number of
<num_chars>, characters you specify, with a different text string.
<new_text>)
REPT(<text>, Repeats text a given number of times. Use REPT to fill a cell
<num_times>) with a number of instances of a text string
RIGHT(<text>, RIGHT returns the last character or characters in a text string,
<num_chars>) based on the number of characters you specify.
SEARCH(<search_text>, Returns the number of the character at which a specific
<within_text>, character or text string is first found, reading left to right.
[start_num]) Search is case-sensitive.
SUBSTITUTE(<text>,
<old_text>, <new_text>, Replaces existing text with new text in a text string.
<instance_num>)
Removes all spaces from text except for single spaces between
TRIM(<text>)
words.
UPPER (<text>) Converts a text string to all uppercase letters
VALUE(<text>) Converts a text string that represents a number to a number.
FORMAT(<value>,
Converts a value to text according to the specified format.
<format_string>)