Re: [Dhis2-devs] Issue with calculation of Age through program indicator

2016-11-03 Thread Saurabh
Thanks Markus for the response. Will try again and share the results. Regards Saurabh On 3 Nov 2016 19:16, "Markus Bekken" wrote: > Hi there Saurabh, > > The d2:yearsBetween() is not yet supported in the server side aggregation > of program indicators. For now you would have to use d2:daysBet

Re: [Dhis2-devs] Issue with calculation of Age through program indicator

2016-11-03 Thread Markus Bekken
Hi there Saurabh, The d2:yearsBetween() is not yet supported in the server side aggregation of program indicators. For now you would have to use d2:daysBetween() / 365 - which is not 100% correct as the leap years is not considered. You wrote d2daysBetween in your mail below(without the colon b

[Dhis2-devs] Issue with calculation of Age through program indicator

2016-10-18 Thread Saurabh
Hi Devs Have been trying to create a program indicator for calculation of Age (in years) using the 'd2yearsBetween' expression (have tried with 'd2daysBetween' as well), and then putting the attribute for date of birth, and event/current date. The date of birth is not part of the attribute list