如何在 Informatica Developer 中不使用聚合器执行聚合

How to perform aggregation without using aggregator in informatica developer

我一直在尝试在一个表达式中实现两个字段的聚合。我有 overallfieldsysid,我必须计算这两个字段。

Overallfield
Sysid
V_sysid=sysid
V_overallfield=overallfield
Total=iif(overallfield=1,V_overallfield+1,0)

尝试:

Overallfield
Sysid
V_overallfield = V_overallfield + overallfield
V_sysid = V_sysid + sysid
out_Total = V_overallfield + V_sysid 

如果您需要,请告诉我。 或者,如果您只需要行数:

v_count = v_count + 1
out_count = v_count