Regarding Monthwise data for Annual DataElement

Hi,

we created one dataelement which is Annual periodtype (say total population) and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we are trying to sum the values of all these months it is not matching with yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and for the months which are 30 days it is taking 29 days only.

···

Regards,
Bharath Kumar. Ch

OK I will have a look at this.

···

On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar chbharathk@gmail.com wrote:

Hi,

we created one dataelement which is Annual periodtype (say total population) and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we are trying to sum the values of all these months it is not matching with yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and for the months which are 30 days it is taking 29 days only.

Bharath,

you are completely right. Fixed it, see the log message. There will still be a minor deviation due to rounding-off of values (we use one decimal) but I guess we can live with that.

Lars

···

2009/3/19 Lars Helge Øverland larshelge@gmail.com

On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar chbharathk@gmail.com wrote:

Hi,

we created one dataelement which is Annual periodtype (say total population) and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we are trying to sum the values of all these months it is not matching with yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and for the months which are 30 days it is taking 29 days only.

Thank you Lars, Thank you so much.

···

2009/3/20 Lars Helge Øverland larshelge@gmail.com

2009/3/19 Lars Helge Øverland larshelge@gmail.com

On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar chbharathk@gmail.com wrote:

Hi,

we created one dataelement which is Annual periodtype (say total population) and Aggregationtype as SUM.
For the year 2008 we entered data say 15000.

In the datamart, we selected that dataelement, orgunit, and all monthly periods for 2008 (ie jan-2008 to dec-2008). After datamart export, when we are trying to sum the values of all these months it is not matching with yearly value (ie 15000).

It seems to be for the months which are 31 days it is taking 30 days and for the months which are 30 days it is taking 29 days only.

Bharath,

you are completely right. Fixed it, see the log message. There will still be a minor deviation due to rounding-off of values (we use one decimal) but I guess we can live with that.

Lars

Regards,
Bharath Kumar. Ch