Need Help with DHIS2 API Query for tracker Program Indicators

Hello everyone,

I’m working on querying the DHIS2 API to retrieve program indicators and aggregate them by organization units. Specifically, I’m looking for:

  • Period: Using startDate and endDate
  • Organization Unit: all organization units
  • dx: Program indicators

My goal is to get the total values for the selected period, grouped by the organization units.

However, I’m facing difficulties in getting the right aggregation. Has anyone worked on a similar API query and can share insights or examples?

Hi @hio.amakomaya

Are you able to get this aggregation in the Data Visualization app?