Solved

Add value to create new (compounded?) value


Badge

Unsure if compounded is the right term but anyway....I am trying to calculate a new attribute based on existing values - usually easy to do - but in this case the expression must reference each subsequent attribute value in an original attribute. Best explained by the graphic below:

'StaticValue' is the original value and 'CompoundedValue' is the attribute I want to create. The first value will be unchanged but each subsequent value in the 'CompoundedValue' attribute must reflect the corresponding 'StaticValue' value.

StaticValueCompoundedValue30030020320-50270-4023016039035425

Can I do a 'circular' reference like this in FME?

icon

Best answer by conch 3 August 2017, 17:05

View original

3 replies

Badge

 

StaticValueCompoundedValue30030020320-5027012039080470-30440

 

Badge
Nevermind...I solved it by using the 'SumAttribute' function on the StatsCalculator and outputting values via the 'Cumulative' port. Easy peasy :)

 

 

Userlevel 4
Badge +30
Nevermind...I solved it by using the 'SumAttribute' function on the StatsCalculator and outputting values via the 'Cumulative' port. Easy peasy :)

 

 

Good question and solution :) @conch

 

Reply