2009/3/19 Lars Helge Øverland <larshe...@gmail.com>

>
>
> On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar <chbhara...@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
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to