Re: [Dhis2-users] changing aggregation operator and deleting data elements

2016-03-03 Thread Morten Olav Hansen
Hi Mark AggregationType was not added to the data element merge method, fixed and backported to 2.22. -- Morten On Thu, Mar 3, 2016 at 10:05 PM, Mark Polak wrote: > Hey Morten, > > It seems the dataElement endpoint does not allow the aggregationType to be > changed? > >

Re: [Dhis2-users] changing aggregation operator and deleting data elements

2016-03-03 Thread Mark Polak
Hey Morten, It seems the dataElement endpoint does not allow the aggregationType to be changed? Sending a PUT payload of the object with the aggregationType set to 'AVERAGE' from 'SUM' returns successfully. It does however not update the value correctly. Is this intended? Is one not supposed to

Re: [Dhis2-users] changing aggregation operator and deleting data elements

2016-03-03 Thread Lars Helge Øverland
Hi Thomas, seems to be a bug in the maintenance app, we are fixing now. Lars On Thu, Mar 3, 2016 at 3:25 PM, Jason Pickering wrote: > Hi Thomas, > > Which version are you using? Are you using the French translation? > > Are you able to reproduce it on the demo

Re: [Dhis2-users] changing aggregation operator and deleting data elements

2016-03-03 Thread Jason Pickering
Hi Thomas, Which version are you using? Are you using the French translation? Are you able to reproduce it on the demo instance? Best regards, Jason On Thu, Mar 3, 2016 at 3:20 PM, Thomas Lavreys wrote: > Hi All, > > > > I created a data element ‘new respiratory

[Dhis2-users] changing aggregation operator and deleting data elements

2016-03-03 Thread Thomas Lavreys
Hi All, I created a data element 'new respiratory disease cases', however, after filling in my data I realized I put the aggregation operator to 'Sum' instead of 'Average (sum in org unit hierarchy)' meaning I can't create any incidence rates. Consequently, I changed this from Sum --> Average