Calculating Number of Process Variants

I’m having some trouble understanding how the built-in “Number of process variants” KPI is calculated. I don’t understand why these two statements are not equivalent.

KPI("Number of process variants")

versus

COUNT(
  DISTINCT
  VARIANT(
    "_CEL_P2P_ACTIVITIES"."ACTIVITY_EN"
  )
)

Hi,

the reason for this is that the “Number of process variants” saved formula uses the following formula:

COUNT(
DISTINCT 
SHORTENED(VARIANT( "_CEL_P2P_ACTIVITIES"."ACTIVITY_EN"))
)

SHORTENED reduces the cycle length to 2. So if you have variants
A->B->B->B->C and A->B->B->B->B->B->C, they are both shortened to A->B->B->C.
This is why your number without the SHORTENED is larger.

Cheers
David

1 Like