Skip to main content
Jul 31, 2023 9:24 AM UTC
Question

Hi I need to create a new formula to calculate the total number of cases by day, filtering by some condition. Some one can help me?

I am using this formula but I know that is not right. :

AVG(PU_COUNT ("_X_INC_CASE", ROUND_DAY("_X_INC_SECONDARY_ACTIVITIES"."_EVENTTIME"), KPI("Efficient Conditions_ All Reopen") = 'Efficient'))

 

The X_INC_CASE has unique values and the X_INC_SECONDARY_ACTIVITIES has all events

15 replies

Aug 7, 2023 9:37 AM UTC

Hi Daisy,

 

i am glad that it worked well :)

 

 

Hi again. More one question, Since the Metric “Cases per day” on Process Overview is linked to other metrics in our analysis, we would like to ask how we get to this result, what are the formula behind the metric.

-We are using the formula : “PU_COUNT_DISTINCT “ as we discussed before, but the values are not matching, as you can see on the pictures. Both tabs have the same data model so that should not be the problem, and we are not using any filter. PictureFormula value

Aug 7, 2023 10:00 AM UTC

Hi again. More one question, Since the Metric “Cases per day” on Process Overview is linked to other metrics in our analysis, we would like to ask how we get to this result, what are the formula behind the metric.

-We are using the formula : “PU_COUNT_DISTINCT “ as we discussed before, but the values are not matching, as you can see on the pictures. Both tabs have the same data model so that should not be the problem, and we are not using any filter. PictureFormula value

Can you try with MEDIAN instead of Average and see if they match? We are assuming the Process Overview is calculating the average, but maybe is not....

Aug 7, 2023 10:07 AM UTC

Hi again. More one question, Since the Metric “Cases per day” on Process Overview is linked to other metrics in our analysis, we would like to ask how we get to this result, what are the formula behind the metric.

-We are using the formula : “PU_COUNT_DISTINCT “ as we discussed before, but the values are not matching, as you can see on the pictures. Both tabs have the same data model so that should not be the problem, and we are not using any filter. PictureFormula value

Yes I already tried but is not matching

Aug 7, 2023 10:39 AM UTC

Hi again. More one question, Since the Metric “Cases per day” on Process Overview is linked to other metrics in our analysis, we would like to ask how we get to this result, what are the formula behind the metric.

-We are using the formula : “PU_COUNT_DISTINCT “ as we discussed before, but the values are not matching, as you can see on the pictures. Both tabs have the same data model so that should not be the problem, and we are not using any filter. PictureFormula value

Ok then.... I made some tests... I think you will need to request info to Celonis about the Process Overview because I am afraid it is not clear what is doing....

 

For example, in my test:

  • Process Overview:
    • Max of cases per month - 199 - 2019-Jan-01
  • Basic OLAP - same date:
    • Month: 6163
    • Day (cases on 2019-Jan-01): 58

 

I have just used as dimension the rounded eventime from the activities table, and as KPI the standar KPI: Case_Count

 

Besides that... my data reaches to 2021.... but the Process Overview only shows data in the graph until Feb 2019 ... ????

 

image 

Here the monthly number of cases graph, using a standard component

 

image

Aug 7, 2023 10:57 AM UTC

Hi again. More one question, Since the Metric “Cases per day” on Process Overview is linked to other metrics in our analysis, we would like to ask how we get to this result, what are the formula behind the metric.

-We are using the formula : “PU_COUNT_DISTINCT “ as we discussed before, but the values are not matching, as you can see on the pictures. Both tabs have the same data model so that should not be the problem, and we are not using any filter. PictureFormula value

Thanks very much. Yes I will contact them