- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
COMBINA function
Description
Returns the number of combinations (with repetitions) for a given number of items.
DAX COMBINA function is new in Excel 2016.
Syntax
COMBINA (<number>, <number_chosen>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
number The number of items. Must be greater than or equal to 0, and greater than or equal to number_chosen. Non-integer values are rounded. |
2 |
number_chosen The number of items in each combination. Must be greater than or equal to 0. Non-integer values are rounded. |
Return Value
A whole number.
Remarks
If the value of either parameter is outside of its constraints, COMBINA returns #ERROR.
If either parameter is a non-numeric value, COMBINA returns #ERROR.
The following equation is used, where N is number and M is number_chosen −
$$\left(\begin{array}{c}N\:+\:M\:-1\\ N\:-\:1\end{array}\right)$$
Example
= COMBINA (5,2) returns 15. = COMBINA (5.4,2) returns 15. = COMBINA (5.5,2) returns 21.
dax_functions_mathematical_trigonometric.htm
Advertisements