← Back to team overview

dhis2-users team mailing list archive

Create Program indicator to sum DE across events

 

Hi community members

​I'm creating a Tracker form, which has 2 stages: one is non-repeatable and
the other one is repeatable

I need to create an Indicator that takes data from a DE from the
non-repeatable stage and subtracts the sum of a particular DE from the
repeatable stages (all events). Something like this:

Indicator = {NonRepatableStage.DataElement1} -
SUM{RepeatableStage.DataElement2}

What I'm getting is the Indicator takes the value of the last event, but I
actually want the sum of the values of a particular DE of the events
(repeatable stages)


Best regards


-- 
*João X. Machiana*
Systems Analyst and Programmer

Follow ups