getChangePercentage(文字列インジケーター, オブジェクト fromDate, オブジェクト toDate)

  • リリースバージョン: Xanadu
  • 更新日 2024年08月01日
  • 所要時間:1分
  • 指定された 2 つの日付間のインジケーターのスコアの変化率を返します。

    表 : 1. パラメーター
    名前 タイプ Description (説明)
    インジケーター 文字列 変化率を計算するインジケーターの一意の識別子。
    fromDate オブジェクト 比較の最初の日付。
    toDate オブジェクト 比較の終了日
    表 : 2. 返される内容
    タイプ 説明
    番号 指定された 2 つの日付間の指定されたインジケーターの変化率。

    例:

    var lastPeriod = new GlideDateTime(score_start.getYear() + '-' + score_start.getMonth() + '-01');
    lastPeriod.addDaysUTC(-1);
    pa.getChangePercentage($[[Number of open incidents]], lastPeriod, score_start);