← Back to team overview

dhis2-devs team mailing list archive

Re: /api/analytics not returning values for the correct period

 

Sorry I got it a bit wrong.

All relative periods (except weekly) "switch over" one month after the
*start* date of the relative period, not the end.

The reasoning is the same. Often data is entered monthly. If you create
e.g. a chart with "this quarter", which aggregates the monthly data into a
quarter", the system waits a month until you have at least some data in the
system before switching the quarter for the chart.

Follow ups

References