# COMBINDAX Function (Statistical)

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.

## Syntax

COMBIN ( <Number>, <Number_chosen> )
Parameter Attributes Description
Number

The number of items.

Number_chosen

The number of items in each combination.

## Return values

Scalar A single integer value.

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

## Remarks

Numeric arguments are rounded to integers.

» 1 related function

## Examples

```--  COMBIN returns the number of possible combinations of
--  a given number of items WITHOUT repetitions.
--  The internal order is not relevant.
--  Use PERMUT for the number of permutations,
--  where the internal order is relevant.
--
--  Use COMBINA to compute combinations WITH repetitions.
--
--  For example, consider 3 elements ( A, B, C )
--  COMBIN ( 3, 2 ) returns 3 counting:
--       ( A, B )
--       ( B, C )
--       ( A, C )
EVALUATE
{
( "COMBIN ( 3, 1 )", COMBIN ( 3, 1 ) ),
( "COMBIN ( 3, 2 )", COMBIN ( 3, 2 ) ),
( "COMBIN ( 3, 3 )", COMBIN ( 3, 3 ) ),
( "COMBIN ( 4, 1 )", COMBIN ( 4, 1 ) ),
( "COMBIN ( 4, 2 )", COMBIN ( 4, 2 ) ),
( "COMBIN ( 4, 3 )", COMBIN ( 4, 3 ) ),
( "COMBIN ( 4, 4 )", COMBIN ( 4, 4 ) )
}

```
Value1 Value2
COMBIN ( 3, 1 ) 3
COMBIN ( 3, 2 ) 3
COMBIN ( 3, 3 ) 1
COMBIN ( 4, 1 ) 4
COMBIN ( 4, 2 ) 6
COMBIN ( 4, 3 ) 4
COMBIN ( 4, 4 ) 1

## Related functions

Other related functions are:

Last update: Oct 15, 2021     » Show contributors

Contributors: Alberto Ferrari, Marco Russo

Microsoft documentation: https://docs.microsoft.com/en-us/dax/combin-function-dax

# Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

# Row Context

This expression is executed in a Row Context. Click to read more.

# Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

# Not recommended

The use of this parameter is not recommended.

# Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

# Deprecated

This parameter is deprecated and its use is not recommended.

# DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

### Contribute

Want to improve the content of COMBIN? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.