# Permut

Permut() 用于返回 q 元素排列数，它可从一组 p 项目中选取。公式如下：`Permut(p,q) = (p)! / (p - q)!` 选择项目的顺序很重要。

语法：

Permut(p, q)

返回数据类型： 整数

限制：

非整数型参数将被截短。

示例和结果：

* 在有 8 人参加的 100 米决赛中，金牌，银牌和铜牌可以有多少种分发方式？

  Permut( 8,3 ) 返回 336

## 了解详情

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