Hello everyone, I'm still quite new to Process Mining and PQL.
How can I create the Column chart of the "Rework Selection" as a standalone component for the dashboard? In my process, there is a process flow (loop) that can occur either 0, 1, 2, 3, 4, or 5 times per case. Therefore, on the X-axis, the number of loops should be listed (0, 1, 2, 3, 4, 5), and on the Y-axis, the frequency of occurrence of each number of loops should be shown.
I tried it with this: https://docs.celonis.com/en/calculations-on-activity-sequences.html
And that works well for an OLAP table, but it only provides me with the count of loops per case and not the count of cases for each loop count (0,1,2,3,4,5). However, I cannot or do not know how to access this OLAP table in another component and sum up the counts per loop iteration.
Thanks for your help! 😊

The bar chart looks as follows with the code:
The bar chart indicates that there is only the possibility of no loop iteration, which occurs 251 times, even though there are only 100 cases.
Thanks for your help and have a nice weekend!