Number.Combinations
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 combinations of a given number of items for the optional combination size.
Number.Combinations (setSize as nullable number, combinationSize as nullable number) as nullable number
| Argument | Description |
|---|---|
| setSize | Number of combination items. |
| combinationSize | Size of combinations. |
Number.Combinations(5, 3) equals 10
Show: