Skip to main content

First, I am not sure if this will make sense because I'm having a hard time describing it to myself... but looking for any guidance or hints on how to approach this...

 

I have a multi step process where one party is responsible for the first half and another party is responsible for the second half. A simplified example is:

 

Process Steps:

  • New widget
  • Widget step 1 done (Party 1)
  • Widget step 2 done (Party 2)

 

I can easily create OLAP tables around specific events... ex.

 

date widget uploaded, count, most common color

1/1/24, 100, blue

 

but I'm having a hard time anchoring different events in the process to the same date row when I'm using pull up aggregation to get the counts

 

General Date, Count uploaded, Count where widget step 1 completed, count where widget step 2 completed

1/3/24, 100, 24, 58

1/2/24, 80, 42, 98

1/1/24, 110, 120, 20

 

The challenge that I'm seeing is that my PQL statements for each of the columns don't relate to the same date, and I don't know how to dynamically set the date of the left most column.

 

does this make sense?

 

 

Hi @Matt Slocum,

 

Assuming that I got your problem right, would TIMELINE_COLUMN - TIMELINE_TABLE (celonis.com) be a solution? If you look to the fourth example, event counts from multiple sources are added to a timescale, which sounds like your goal.

Let me know if this is the right direction.

 

Cheers,

Jan-peter


Thank you Jan-peter this is exactly what I needed. I will try to see if I am incorporating it correctly in to my Pull Up aggregations and report back with any issues or questions.


Okay, so I was able to create a KPI for the timescale that I can add to an OLAP table, but I'm having challenges with the aggregate columns. I had a KPI like the one below that I wanted to modify to show the count of cases, but aggregated by the time of EVENT1. and then I would have another column that was aggregated by the time of EVENT2. and then I could show them against the timescale.

 

However, I'm not having luck on how to use timeline_table to make the OLAP table aggregate against different times per KPI.

 

SUM (

CASE

WHEN

PU_COUNT (

"_CEL_CASES" ,

"_CEL_ACTIVITIES"."_ACTIVITY_EN" ,

"_CEL_ACTIVITIES"."_ACTIVITY_EN" = 'EVENT1'

)

>

0

THEN

1

ELSE

0

END

)


Hi @Matt Slocum,

 

The Timeline Column/Table is a bit tricky sometimes, so I understand your confusion.

 

For your table, create two columns with the following PQL (only replace the name of timestamp column):

  1. TIMELINE_COLUMN ( DAYS )
  2. PU_COUNT_DISTINCT ( TIMELINE_TABLE ( "_CEL_ACTIVITIES"."<EVENT TIMESTAMP>" ) , "_CEL_ACTIVITIES"."_CASE_KEY" , "_CEL_ACTIVITIES"."_ACTIVITY_EN" = 'EVENT1' )

 

This should do the trick. It counts the unique case keys per day of event. So, if an activity it executed twice on the same day, it will be counted as one.

 

I hope this helps!


Reply