Subsets in program indicators

Hi all,

How do the different counts work in program indicators. I just found the following explanation in the documentation:

  • Count of events
  • Count of enrollments is counting a subset of the Count of events.
  • Count of tracked entity instances is counting a subset of the Count of enrollments

What does subset mean in practice? I would like to have a few examples on how to use each.

Thanks

Hi @fernandoshake

I can’t find this specific definition in the docs, would you share a screenshot? However, I can find: “The count of tracked entity instances (useful in combination with filters). Aggregation type for the program indicator must be COUNT.”

event_count The count of events (useful in combination with filters). Aggregation type for the program indicator must be COUNT. When you count events in a program, it means that you are getting an aggregate number for how many times a specific event happened such as number of births.
enrollment_count The count of enrollments (useful in combination with filters). Aggregation type for the program indicator must be COUNT. This gives you an aggregated number for how many enrollments happened in a program.
tei_count The count of tracked entity instances (useful in combination with filters). Aggregation type for the program indicator must be COUNT. Number of TEIs enrolled in the program regardless of the number of enrollments (a TEIs in some programs can enroll more than once).