Number.Factorial

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns the factorial of a number.

Number.Factorial(number as nullable number)  as nullable number  

ArgumentDescription
numberThe number to calculate.
Number.Factorial(3) equals 6  

Show: