Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

Permut - script and chart function

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

Syntax:  

Permut(p, q)

Return data type: integer

Limitations:  

Non-integer arguments will be truncated.

Examples and results:  

Examples and results
Examples Results

In how many ways could the gold, silver and bronze medals be distributed after a 100 m final with 8 participants?

Permut( 8,3 )

Returns 336

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!