← Back to team overview

dhis2-devs team mailing list archive

Re: Dear Dhis2 users how can i delete?

 

Hi Andrew,

you need to remove the data with SQL in the database. Run:

delete from datavalue_audit where dataelementid=<id>;
delete from datavalue where dataelementid=<id>;

and replace <id> with the dataelementid of the one you want to remove.

You can then go ahead and delete the data element in the user interface.



Lars


Follow ups

References