← Back to team overview

dhis2-users team mailing list archive

Predictors for "carry forward" and cohorts


Hi all,
I wanted to check if anyone had any experience using predictors for 1) «carry forward» of values from one period to the following, or 2) copying cohort data forward?

As far as I can tell from some limited testing, 1) should work as it is now by setting sequential sample count to 1 and annual sample count to 0. You could then for example copy ending balance for May 2017 to starting balance June 2017 etc. (note: I don’t mean to start a discussion how to collect data on stock).

Moving forward cohorts would similarly work today, but only for 12 month cohorts as far as I can figure out. From what I understand, even 12-month cohorts are sometimes in reality reported after e.g. 14 months, and there are of course others (6 months, 24 months, 36 months). At least on the surface, it would seem adding support for specifying the sample period as X months back would be a relatively straightforward thing, and it would be very helpful for this purpose. I know people are using custom script for this type of thing today.


Follow ups