← Back to team overview

dhis2-devs team mailing list archive

Indicator Definition

 

Hi

Is it possible to have IF Statement while defining indicators? For example, given data elements

D1 - Data element 1
D2 - Data element 2
D3 - Data element 3

Then, under Numerator indicator definition, can we say:

IF ((D1/D2)< 0.5){
 D3 * 2
}else{
 D3 * 6
}


if yes, what is the correct syntax?

Lungo

Follow ups

References