getChangePercentage(文字列インジケーター, オブジェクト fromDate, オブジェクト toDate)
指定された 2 つの日付間のインジケーターのスコアの変化率を返します。
| 名前 | タイプ | Description (説明) |
|---|---|---|
| インジケーター | 文字列 | 変化率を計算するインジケーターの一意の識別子。 |
| fromDate | オブジェクト | 比較の最初の日付。 |
| toDate | オブジェクト | 比較の終了日 |
| タイプ | 説明 |
|---|---|
| 番号 | 指定された 2 つの日付間の指定されたインジケーターの変化率。 |
例:
var lastPeriod = new GlideDateTime(score_start.getYear() + '-' + score_start.getMonth() + '-01');
lastPeriod.addDaysUTC(-1);
pa.getChangePercentage($[[Number of open incidents]], lastPeriod, score_start);