Number.Permutations
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 number of total permutatons of a given number of items for the optional permutation size.
Number.Permutations(setSize as nullable number, permutationSize as nullable number) as nullable number
| Argument | Description |
|---|---|
| setSize | Number of permutation items. |
| permutationSize | Size of permutations. |
Number.Permutations(5, 3) equals 60
Show: