Access data values in custom form using javascript

HI Guys,

I have the following form.

I would like to access the data elemnts and indicator values in another form using the data element names.

I want to do sum of all this data elements entered and show this from parent ORG UNIT.

Let say ETHIOPIA is country.

So in ETHIOPIA I WILL HAVE THE FOLLOWING:

    1. NUMERATOR ALL REGIONS DATA _______________________
    1. DENOM ALL REGION DATA ______________________________
    1. PROPORTION OF ALL REGION DATA __________________________________

Thanks

Hi Daniel,

Not sure if your question is clear enough, but seems you wanted to have data collected at lower levels (Regions) be aggregated to higher level (Ethiopia).

One approach you can handle this is:

  1. collect your data at lower level (first make sure your data elements have the aggregation type you need)

  2. run analytics

  3. go to pivot table, select the data elements and indicators you want to see and click update. the system will automatically handle the aggregation.

If you want to have a report with a specific layout, logos and related items, you might need to consider custom jasper reports. See here fore more info.

Hope this helps.

Thank you
Abyot.

1 Like