getChangePercentage(문자열 표시기, 객체 fromDate, 객체 toDate)

  • 릴리스 버전: Washingtondc
  • 업데이트 날짜 2024년 02월 01일
  • 읽기1분
  • 지정된 두 날짜 사이에 표시기 점수의 변경 백분율을 반환합니다.

    표 1. 매개변수
    이름 유형 설명
    표시기 문자열 변경 백분율을 계산할 표시기의 고유 식별자입니다.
    fromDate 객체 비교의 초기 날짜입니다.
    종료일 객체 비교 종료 날짜
    표 2. 반환
    유형 설명
    번호 지정된 두 날짜 사이에 지정된 표시기의 변화율입니다.

    예시:

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