DAXFunctions170320 (1)
DAXFunctions170320 (1)
DAX Functions
DAX Functions
DAX Functions
DAX Functions
Logical Functions FALSE Function FALSE() Returns the logical value FALSE.
Checks if a condition provided as the first argument is met.
IF(logical_test>,<value_if_true>,
Logical Functions IF Function Returns one value if the condition is TRUE, and returns
value_if_false)
another value if the condition is FALSE.
Evaluates an expression and returns a specified value if the
Logical Functions IFERROR Function IFERROR(value, value_if_error) expression returns an error; otherwise returns the value of
the expression itself.
Logical Functions NOT Function NOT(<logical>) Changes FALSE to TRUE, or TRUE to FALSE.
Checks whether one of the arguments is TRUE to return
Logical Functions OR Function OR(<logical1>,<logical2>) TRUE. The function returns FALSE if both arguments are
FALSE.
SWITCH(<expression>, <value>,
Evaluates an expression against a list of values and returns
Logical Functions SWITCH Function <result>[, <value>, <result>]…[,
<else>]) one of multiple possible result expressions.
Logical Functions TRUE Function TRUE() Returns the logical value TRUE.
Math and Trig Functions ABS Function ABS(<number>) Returns the absolute value of a number.
Returns the arccosine, or inverse cosine, of a number. The
arccosine is the angle whose cosine is number . The
Math and Trig Functions ACOS Function ACOS(number)
returned angle is given in radians in the range 0 (zero) to
pi.
Math and Trig Functions ACOSH Function
Math and Trig Functions ASIN Function
Math and Trig Functions ASINH Function
Math and Trig Functions ATAN Function
Math and Trig Functions ATANH Function
Rounds a number up, to the nearest integer or to the
Math and Trig Functions CEILING Function CEILING(<number>, <significance>)
nearest multiple of significance.
Returns the number of combinations for a given number
Math and Trig Functions COMBIN Function COMBIN(number, number_chosen) of items. Use COMBIN to determine the total possible
number of groups for a given number of items.
Returns the number of combinations (with repetitions) for
Math and Trig Functions COMBINA Function COMBINA(number, number_chosen)
a given number of items.
Math and Trig Functions COS Function
Math and Trig Functions COSH Function
Evaluates the argument and returns the result as currency
Math and Trig Functions CURRENCY Function CURRENCY(<value>)
data type.
Math and Trig Functions DEGREES Function DEGREES(angle) Converts radians into degrees.
DIVIDE(<numerator>, <denominator> Performs division and returns alternate result or BLANK()
Math and Trig Functions DIVIDE Function
[,<alternateresult>]) on division by 0.
Returns number rounded up to the nearest even integer.
You can use this function for processing items that come in
twos. For example, a packing crate accepts rows of one or
Math and Trig Functions EVEN Function EVEN(number)
two items. The crate is full when the number of items,
rounded up to the nearest two, matches the crate's
capacity.
Returns e raised to the power of a given number. The
Math and Trig Functions EXP Function EXP(<number>) constant e equals 2.71828182845904, the base of the
natural logarithm.
Returns the factorial of a number, equal to the series
Math and Trig Functions FACT Function FACT(<number>)
1*2*3*...* , ending in the given number.
Rounds a number down, toward zero, to the nearest
Math and Trig Functions FLOOR Function FLOOR(<number>, <significance>)
multiple of significance.
Returns the greatest common divisor of two or more
integers. The greatest common divisor is the largest
Math and Trig Functions GCD Function GCD(number1, [number2], ...)
integer that divides both number1 and number2 without a
remainder.
Math and Trig Functions INT Function INT(<number>) Rounds a number down to the nearest integer.
ISO.CEILING(<number>[, Rounds a number up, to the nearest integer or to the
Math and Trig Functions ISO.CEILING Function
<significance>]) nearest multiple of significance.
Returns the least common multiple of integers. The least
common multiple is the smallest positive integer that is a
Math and Trig Functions LCM Function LCM(number1, [number2], ...) multiple of all integer arguments number1, number2, and
so on. Use LCM to add fractions with different
denominators.
DAX Functions
Math and Trig Functions LOG10 Function LOG10(<number>) Returns the base-10 logarithm of a number.
Math and Trig Functions MROUND Function MROUND(<number>, <multiple>) Returns a number rounded to the desired multiple.
Math and Trig Functions ODD Function ODD(number) Returns number rounded up to the nearest odd integer.
DAX Functions
DAX Functions
ROW(<name>, <expression>[[,<name>, Returns a table with a single row containing values that
Statistical Functions ROW Function
<expression>]…]) result from the expressions given to each column.
SAMPLE(<n_value>, <table>,
Statistical Functions SAMPLE Function <orderBy_expression>, [<order>[, Returns a sample of N rows from the specified table.
<orderBy_expression>, [<order>]]…])
SELECTCOLUMNS(<table>, <name>,
Adds calculated columns to the given table or table
Statistical Functions SELECTCOLUMNS Function <scalar_expression> [, <name>,
<scalar_expression>]…) expression.
Statistical Functions SIN Function SIN(number) Returns the sine of the given angle.
Statistical Functions SINH Function SINH(number) Returns the hyperbolic sine of a number.
Statistical Functions STDEV.P Function STDEV.P(<ColumnName>) Returns the standard deviation of the entire population.
Statistical Functions STDEV.S Function STDEV.S(<ColumnName>) Returns the standard deviation of a sample population.
Statistical Functions STDEVX.P Function STDEVX.P(<table>, <expression>) Returns the standard deviation of the entire population.
Statistical Functions STDEVX.S Function STDEVX.S(<table>, <expression>) Returns the standard deviation of a sample population.
Statistical Functions SQRTPI Function SQRTPI(number) Returns the square root of (number * pi).
DAX Functions
XIRR(<table>, <values>, <dates>, Returns the internal rate of return for a schedule of cash
Statistical Functions XIRR Function
[guess]) flows that is not necessarily periodic. New to 2016.
XNPV(<table>, <values>, <dates>, Returns the present value for a schedule of cash flows that
Statistical Functions XNPV Function
<rate>) is not necessarily periodic. New to 2016.
Text functions BLANK Function BLANK() Returns a blank.
Returns a numeric code for the first character in a text
Text functions CODE Function CODE(text) string. The returned code corresponds to the character set
used by your computer.
Text functions CONCATENATE Function CONCATENATE(<text1>, <text2>) Joins two text strings into one text string.
CONCATENATEX(<table>, <expression>, Concatenates the result of an expression evaluated for
Text functions CONCATENATEX Function
[delimiter]) each row in a table. New to 2016.
Compares two text strings and returns TRUE if they are
exactly the same, FALSE otherwise. EXACT is case-sensitive
Text functions EXACT Function EXACT(<text1>,<text2>)
but ignores formatting differences. You can use EXACT to
test text being entered into a document.
FIND(<find_text>, <within_text>[, Returns the starting position of one text string within
Text functions FIND Function
[<start_num>][, <NotFoundValue>]]) another text string. FIND is case-sensitive.
Rounds a number to the specified number of decimals and
FIXED(<number>, <decimals>,
Text functions FIXED Function returns the result as text. You can specify that the result be
<no_commas>)
returned with or without commas.
Text functions FORMAT Function FORMAT(<value>, <format_string>) Converts a value to text according to the specified format.
DAX Functions