Hi Everybody,
I have a question about modeling to visualize historical attribute-values over time.
Often Celonis connects to systems like SAP that already has obejcts where only events/changes are stored instead of daily Snapshots.
An example would be a price change on an Order for example.
In more custom processes though, like for example in the supply chain, we often have daily snapshot tables from which we derive events via a snapshot comparison with a lag().
Now for my question:
lets say I have a Part and a supplier and a daily snapshot of the per supplier with attributes like “demand_quantity” for different parts.
I want to visualize the demand per grain “part|supplier” over time on a line-plot.
i now have multiple options to model this in objects and events:
1.I cerate an object type “Part” and an object type with grain “supplier|part” with an event “demand changed” PLUS an object with grain “supplier|part|date” that holds the snapshot history.
2. I cerate an object type “Part” and an object type with grain “supplier|part” with an event “demand changed” that has atttributes “new_value”/”old_value”
3. I cerate an object type “Part” with an event “demand changed” that has atttributes “supplier” and “new_value”/”old_value”
To visualize as a heatmap:
1. with option 1 its very straightforward...i can simply use the attributes from the history table and events are not needed for the visual.
2. with option 2 I have one object less, but I would have to use timeline_column() to reconstruct a daily value from the “demand-changed” in the event log of the “part|supplier” object. i
3. with option 3 I have two objects less, but I no longer have the grain “part|supplier” and an object, so i guess i would have to visualize aggragated per “part” instead of “part|supplier” or constuct some temporary table with grain “part|supplier” ( if thats possible)
Now i am wondering which of these options is best practice or recommended, and also why?
Note that I already get a snapshot table from the source system ( unlike in most SAP systems).
I hope this is not too long and i would be grateful for any insight!
Question
When use events, when history Table
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.