getPersonalTarget(String indicator, Object onDate)

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Returns the personal target associated with the specified indicator for the specified date.

    Use this method to obtain a personal index score. "Personal" refers to the active user who is looking at the Analytics Hub.
    표 1. Parameters
    Name Type Description
    indicator String Unique identifier of the indicator.
    onDate Object Date for which to return the personal target.
    표 2. Returns
    Type Description
    Number Personal target for the specified date and indicator.

    Example:

    var a = pa.getGap($[[% of open overdue incidents]], score_start) / pa.getPersonalTarget($[[% of open overdue incidents]],score_start);
    var b = pa.getGap($[[Average age of last update of open incidents]], score_start) / pa.getPersonalTarget($[[Average age of last update of open incidents]], score_start);
    var c = pa.getGap($[[Number of open incidents]], score_start) / pa.getPersonalTarget($[[Number of open incidents]], score_start);
    var res = 100 - (100 * (a + b + c) / 3);
    res;