Program Indicator - Aggregation type "Last value"

I having been trying (for several months) to tease out the most recent value of a repeated event. I have a record of temperature measurements and simply trying to show the most recently entered value in a “Single value” chart.
This value can be displayed perfectly in a Line Listing using the “Repeated events” feature and setting “Most recent events” to “1”.
The Program Indicator works perfectly when using the “Aggregation type” minimum, maximum, count or average but displays no data when selecting “Last value”.
Interestingly, although this “Aggregation type” is available for all PIs, it is not mentioned (and not explained) in the online documentation.

1 Like

Hi @George_McGuire

Thank you for your patience and for sharing the challenge you are facing. This might actually be a bug issue, so if you have the steps to reproduce it in any of the play.dhis2.org instances, would you create a Jira bug issue? Projects - Jira

If it helps, there are some notes about it in the training documentation:

Thanks Gassim for answering. Concerning the trainer’s guide, my inquiry is only related to “Program Indicators” and therefore Tracker Programs (and not Data elements in Data Entry forms and Pivot tables).