Skip to main content

I am also trying the Root cause analysis described in the Pycelonis tutorial from the top.

 

https://celonis.github.io/pycelonis/1.6.0/tutorials/root_cause_analysis/01_Root_Cause_Analysis_Tutorial/

 

At the data model connection, I get a NameError when I specify a data model.

I'm copying and pasting the data model ID, so I don't think it's wrong, but am I missing some operation?

 

image 

image 

The data model attempts to use this

image

Dear Sasaki-san,

 

Regarding second issue you said, could you check if celonis.datamodels returns list including your data model ? If empty list is returned, it may be your API key does not have appropriate permissions.

 

Regarding first question, I guess you will filter data by first root cause attribute, then try root cause analysis to find second root cause etc.

 

Best regards,

Kazuhiko


Hello Takata-san

Thanks for the reply.

I tried "Celonis.datamodels" as advised and realized that the id was wrong.

So it was not datamodel id = datamodel key, but something else.

Regarding multidimensionality, if I want to do what you advised (filter the data with the first root cause attribute and do a root cause analysis with the other attributes as multidimensional) in Workbench, do I need to write the code from scratch myself?

Or is it already available on Git hub or Pycelonis tutorials?


Dear Sasaki-san,

You can use ID or name in find method, so let's try by name at first.

Regarding multi-dimensional root cause analysis, I imagine I can use standard Analysis (Conformance) and use 'Load script' to filter data in Analysis.

 

If you find EKPO.BUKRS = 1000 is the first root cause, then you will set FILTER EKPO.BUKRS = 1000 in Load script and try second root cause.

 

Best regards,

Kazuhiko


Reply