Navigate to standard reports and click “Add new”.
Give the report a name.
Select “HTML report” as type.
If you want to you can download a report template by clicking on “Get HTML report template”.
var periods = dhis2.report.periods; // An array with period identifiers var period = periods;
var orgUnit = dhis2.report.organisationUnit; // An object var id = orgUnit.id; var name = orgUnit.name; var code = orgUnit.code;