FACT Function (DAX)

 

Returns the factorial of a number, equal to the series 1*2*3*...* , ending in the given number.

FACT(<number>)  

Parameters

TermDefinition
numberThe non-negative number for which you want to calculate the factorial.

A decimal number.

If the number is not an integer, it is truncated and an error is returned. If the result is too large, an error is returned.

The following formula returns the factorial for the series of integers in the column, [Values].

=FACT([Values])  

The following table shows the expected results:

ValuesResults
01
11
22
36
424
5120
1707.257415615308E+306

Math and Trig Functions (DAX)
TRUNC Function (DAX)

Community Additions

Show: