Hello,
We want to write a formula to collect the NOV amounts of the people with all two constraints, can you help?
CASE WHEN "_CEL_P2P_ACTIVITIES"."USER_NAME"='X' AND ("_CEL_P2P_ACTIVITIES"."ACTIVITY_EN" = 'Submit Purchase Order') AND "_P2P_TCL_POSITIONS_V3"."eylem_sahibi_division" = 'CORPORATE LEGAL AFFAIRS'
THEN KPI(NOV)
WHEN "_CEL_P2P_ACTIVITIES"."USER_NAME"='Y' AND ("_CEL_P2P_ACTIVITIES"."ACTIVITY_EN" = 'Submit Purchase Order') AND "_P2P_TCL_POSITIONS_V3"."eylem_sahibi_division" = 'CORPORATE LEGAL AFFAIRS'
THEN KPI(NOV)
...
ELSE 0
END