# Permut

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:

* 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

## Learn more

* [Combin](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/GeneralNumericFunctions/combin.htm)