Skip to main content Skip to complementary content


Combin() returns the number of combinations of q elements that can be picked from a set of p items. As represented by the formula: Combin(p,q) = p! / q!(p-q)! The order in which the items are selected is insignificant.


Combin(p, q)

Return data type: integer


Non-integer arguments will be truncated.

Examples and results:  

  • How many combinations of 7 numbers can be picked from a total of 35 lottery numbers?
  • Combin( 35,7 ) returns 6,724,520

Learn more


Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: