Skip to main content
Question

Calculating Number of Process Variants

  • October 21, 2019
  • 1 reply
  • 21 views

Forum|alt.badge.img+11
Im having some trouble understanding how the built-in Number of process variants KPI is calculated. I dont understand why these two statements are not equivalent. KPI("Number of process variants") versus COUNT( DISTINCT VARIANT( "_CEL_P2P_ACTIVITIES"."ACTIVITY_EN" ) ) image.png900323 21.4 KB

1 reply

Forum|alt.badge.img+2
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