Originally posted by: tverma
Individual_Adjustment_Previous ADX(s): Group
--ADX Segment: Group
----M'Amt:Field
----Adj'tReasonCd Element:Field
Using the above "Tree", I am doing sum of all ADX Amount's by rule "=SUM(M'Amt Element:ADX Segment:Individual_Adjustment_Previous ADX:In1)", but in case if ADX segment doesn't exist in input file, then it is generating 0. However, my requirement is to suppress 0 and put space.
I tried to use Sum() function inside if() function by rule "=IF(PRESENT(Individual_Adjustment_Previous ADX:In1), SUM(M'Amt Element:ADX Segment:Individual_Adjustment_Previous ADX:In1))". It is not generating 0 as expected if ADX segment doesn't exist in input file, but Sum() stopped working if ADX segments are present.
Any help would be appreciated to suppress 0 along with sum.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange