Hi everyone!
I'm having issues with a formula, can you please help or tell who can help me?
My goal is to have an OLAP with fields from EKKN and EKPO. I need a KPI to sum the PO item values in EUR.
Formula: SUM("EKPO"."NETWR_CONVERTED" )
Error: The aggregation function SUM is applied on a column from table "EKPO" which has a 1:N relationship to the common table "EKKN". This means that one input value can contribute to the aggregation result multiple times. For more information search for "Join functionality" in PQL documentation.
I've checked the results and, in some cases, it is summing the same value more than once, as predicted by the error.
The following solutions did not work:
SUM ( CASE WHEN INDEX_ORDER ("EKPO"."NETWR_CONVERTED",PARTITION BY (FILTER_TO_NULL ("EKPO"."NETWR_CONVERTED"))) = 1 THEN "EKPO"."NETWR_CONVERTED" ELSE NULL END)
https://docs.celonis.com/en/sum.html
PU_SUM("EKKN","EKPO"."NETWR_CONVERTED")
Error: Pull-Up-function could not be executed. PU_SUM: Cannot execute PU-function on tables o"EKKN"] and K"EKPO"], since they do not have a 1:N relationship. You might want to make use of the BIND function. Join path: oEKKN]N <-- 1NEKPO]. For more information on the join path, search for "Join functionality" in PQL documentation.
Thank you in advance for your support!