I have created a KPI to rank all plants based on their Invoice value. I also added two filters to this KPI - one for the top 20% of plants and the other for the remaining plants. Although these filters work as intended at the global level, they do not generate accurate numbers when applied to a specific country or region. How can I resolve this issue
Solved
Hello Everyone,I am trying to create a filter for a site which can be filtered at global, country, region... level as well.
Best answer by Sverre Klein
Hi @deeksha.r12,
I think you can use the DOMAIN_TABLE function, since you are retrieving both plants, country, and region from the case table if I understand correctly.
Here is the documentation. https://docs.celonis.com/en/domain_table.html
It would then be like this I'd assume.
(0.2*PU_COUNT(DOMAIN_TABLE("caseTable"."plant_column" ) , "caseTable"."Countrycolumn" ))
So in this example, IT calculates the threshold for the top 20% of plants within each country.
Hopefully this helps!
Kind regards,
Sverre Klein
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.