← Back to team overview

dhis2-users team mailing list archive

changing aggregation operator and deleting data elements

 

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 (sum in
org unit hierarchy), but nothing really changed, and when I looked back at
the details of my data element, the aggregation operator was set to 'Sum'
again. Is this a bug or is this something that just can't be changed, at
least when data has already been filled in?

 

I also tried another approach, deleting the data element. However, I just
get an error message saying: Could not delete due to association with
another object: DataValue. Does this mean I have to delete all the data
connected to this data element? And would I have to do anything else before
I can delete the data element? I tried to find if anyone else asked the same
question in the past, but there seems to be little info about this on the
web, and it could be handy to know this if I were to create data elements
that need to be deleted in the future.

 

Thanks in advance!

 

Kind regards,

 

Thomas Lavreys

 

Thomas Lavreys

Maisha Consulting bvba

Bisschoppenhof 9

3150 Tildonk

Belgium

 

Tel: +32-16-850242

Cell phone: +32-474-717641

Fax: +32-16-850242

 


Follow ups