集計関数
集計関数の拡張構成を指定できます。
この表は、拡張構成の集計関数を示しています。
関数 | 摘要 | 構文 | 例 |
---|---|---|---|
Count | 請求書明細や請求書配分などのデータ項目の合計数を返します。 | Count of <item type> {where <conditions...>} | Count of Invoice Distribution { where Exchange Rate > 75 AND Exchange Rate Type ="Fixed" } Greater Than 1000 |
Sum | 選択した属性のすべての値の合計を返します。 | Sum of All <rule attribute> {where <conditions...>} | Sum of all Invoice Line.Amount { where Match Type = "2-way Match" } Equals 1000 Sum of all Invoice Line.Amount { where Line Type = "Tax" } Between 1000 and 5000 |
Maximum | 選択した属性の一連の値の最大値を返します。 | Maximum of <rule attribute> {where <conditions...>} | Maximum of Invoice Distribution.Amount { where Distribution Match Type = "NOT MATCHED" } Equals 1000 |
Minimum | 選択した属性の一連の値の最小値を返します。 | Minimum of <rule attribute> {where <conditions...>} | Minimum of Invoice Distribution.Amount { where Distribution Match Type = "NOT MATCHED" } Equals 1000 |
Average | 選択した属性のすべての値の平均を返します。 | Average of <rule attribute> {where <conditions...>} | Average of Invoice Line.Base Amount { where Expense Group = "Travel" } Less Than or Equal 1000 |