DAX Math & Trigonometric COMBIN function



Description

Returns the number of combinations for a given number of items.

DAX COMBIN function is new in Excel 2016.

Syntax

COMBIN (<number>, <number_chosen>) 

Parameters

Sr.No. Parameter & Description
1

number

The number of items.

2

number_chosen

The number of items in each combination

Return Value

A whole number.

Remarks

A combination is any set or subset of items, regardless of their internal order.

If number = n and number_chosen = k, then the number of combinations is given as −

$$\left(\begin{array}{c}n\\ k\end{array}\right)\:=\:\frac{n!}{k!\:(n\:-\:k)}$$

You can use DAX COMBIN function to determine the total possible number of groups for a given number of items.

  • Numeric parameters are rounded to integers.

  • If either parameter is non-numeric, COMBIN returns #ERROR.

  • If number < 0, or number_chosen < 0, or number < number_chosen, COMBIN returns #ERROR.

Example

= COMBIN (6,2) returns 15. 
= COMBIN (5.6,2) returns 15. 
= COMBIN (5.4,2) returns 10. 
dax_functions_mathematical_trigonometric.htm
Advertisements