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 (with repetitions) for a given number of items.
COMBINA(number, number_chosen)
Term | Definition |
---|---|
number |
Must be greater than or equal to 0, and greater than or equal to Number_chosen. Non-integer values are truncated. |
number_chosen |
Must be greater than or equal to 0. Non-integer values are truncated. |
Returns the number of combinations (with repetitions) for a given number of items.
If the value of either argument is outside of its constraints, COMBINA returns the #NUM!
error value.
If either argument is a non-numeric value, COMBINA returns the #VALUE!
error value.
The following equation is used, 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 |
---|---|---|
= COMBINA(4,3) |
Returns the number of combinations (with repetitions) for 4 and 3. | 20 |
= COMBINA(10,3) |
Returns the number of combinations (with repetitions) for 10 and 3. | 220 |
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