Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

getCurrentBreakdownID()

Returns the level 1 breakdown identifier (sys_id) from the indicator of the current formula. The sys_id is returned dynamically, as the selection in the Analytics Hub changes.

Use this method to obtain the sys_id of the level 1 breakdown when altering the formula for a specific breakdown.

NameTypeDescription
None  
TypeDescription
StringDynamic level 1 breakdown ID from the indicator of the current formula as it changes with your selection in the Analytics Hub. If there is no level 1 breakdown ID, the method does not return a value.

Example:

var res = [[Number of open incidents]];
if(pa.getCurrentBreakdownSysID() == 'baec0752bf130100b96dac808c0739ed' && pa.getCurrentElementSysID() == '8a4dde73c6112278017a6a4baf547aa7')
  {
  res = 0;
  }
res;

Parent Topic:PAFormulaUtils API

Related topics

getChange(String indicator, Object fromDate, Object toDate)

getChangePercentage(String indicator, Object fromDate, Object toDate)

getCurrentAggregateID()

getCurrentBreakdownLevel2ID()

getCurrentElementID()

getCurrentElementLevel2ID()

getGap(String indicator, Object onDate)

getGlobalTarget(String indicator, Object onDate)

getPersonalTarget(String indicator, Object onDate)

getScore(String indicator, Object onDate)

PAFormulaUtils API