# PERMUTDAX Function (Statistical)

Returns the number of permutations for a given number of objects that can be selected from number objects. A permutation is any set or subset of objects or events where internal order is significant. Permutations are different from combinations, for which the internal order is not significant. Use this function for lottery-style probability calculations.

## Syntax

PERMUT ( <Number>, <Number_chosen> )
Parameter Attributes Description
Number

An integer that describes the number of objects.

Number_chosen

An integer that describes the number of objects in each permutation.

## Return values

Scalar A single decimal value.

Returns the number of permutations for a given number of objects that can be selected from number objects.

## Remarks

Both arguments are truncated to integers.

If Number or Number_chosen is nonnumeric, PERMUT returns the #VALUE! error value.

If Number <= 0 or if number_chosen < 0, PERMUT returns the #NUM! error value.

If Number < number_chosen, PERMUT returns the #NUM! error value.

The equation for the number of permutations is: P( k ,n ) = n! / ( n – k)!

Last update: Dec 17, 2019     » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation: https://docs.microsoft.com/en-us/dax/permut-function-dax

DAX Conventions
• Use [measure] and never use table[measure]
• Use table[column] and never use [column]
• Space before ‘(‘ and ‘)’ and any operand and operator
• Space before an in-line argument
• Definitions in the first row, including the assignment
• Use ‘=’ to define calculated columns / tables
• Use ‘:=’ to define measures
Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

### Contribute

Want to improve the content of PERMUT? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.