The COMBIN function in DAX is a statistical function that returns the
number of combinations (i.e., the number of ways to choose k items from a
set of n items without regard to order) for a given set of values. The
syntax for the COMBIN function is as follows:
Syntax :
COMBIN(n,k)
where n
is the total number of items in the set and k
is the number of items to choose. The function returns the number of possible combinations of k
items from the set of n
items.
For example, if you have a set of 5 items and you want to choose 3 of them, the number of possible combinations is:
COMBIN(5,3)
which means that there are 10 ways to choose 3 items from a set of 5 items.
Note that the COMBIN function assumes that the order of the items does not matter. If you want to count the number of permutations (i.e., the number of ways to choose k items from a set of n items with regard to order), you should use the PERMUT function instead.
Thank you,
Comments
Post a Comment