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

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

    表 : 1. パラメーター
    名前 タイプ 説明
    インジケーター 文字列 変更の割合を計算するインジケーターの一意の識別子。
    開始日 オブジェクト 比較の最初の日付。
    終了日 オブジェクト 比較の終了日
    表 : 2. 戻り値
    タイプ 説明
    [Number (番号)] 指定された 2 つの日付の間の指定されたインジケーターの変化率。

    例:

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