I have a tracker program capturing numbers of supply and demand of oxygen cylinders. The data elements are of number type and sum for aggregation. The event reports however are displayed counting. For example; No. of cylinders ordered over 3 days could be 2,4,2. Ideally, you’d expect a sum of 8 to be returned but the event report will instead display 2 of 2 and 1 of 4.
Would you share the program rule used as well as screenshot maybe? Also, what is the version of the DHIS2 instance you are using? Thank you! (:
Hi @herbert_kiwalya. We have tried this very calculation last year in a pilot project but could not make it work and it is my understanding that the data model does not support the correct aggregation.
However we have a functional prototype using an “aggregate” Data Set and also working on a customized Tracker Program for real time stock management with instant re-calculation of stock on hand (even off-line).
Could you please share your use case to see if it matches our planned development?