Events
31 Mar, 23 - 02 Apr, 23
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Returns the number of combinations for a given number of items. Use COMBIN to determine the total possible number of groups for a given number of items.
COMBIN(number, number_chosen)
Term | Definition |
---|---|
number |
The number of items. |
number_chosen |
The number of items in each combination. |
Returns the number of combinations for a given number of items.
Numeric arguments are truncated to integers.
If either argument is nonnumeric, COMBIN returns the #VALUE!
error value.
If number < 0, number_chosen < 0, or number < number_chosen, COMBIN returns the #NUM!
error value.
A combination is any set or subset of items, regardless of their internal order. Combinations are distinct from permutations, for which the internal order is significant.
The number of combinations is as follows, where number =
Where
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Formula | Description | Result |
---|---|---|
= COMBIN(8,2) |
Possible two-person teams that can be formed from 8 candidates. | 28 |
Events
31 Mar, 23 - 02 Apr, 23
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today