Expressions in indicators

Hello community,

could someone show me how to create if() expression for program indicators

Hello @mugisha_alain

You can see from the documentation here

if (boolean-expr, true-expr, false-expr)

Example from the docs:


if(isNull(A{GPkGfbmArby}),10,20)

2 Likes

In addition to what @nnkogift shared You could also explore d2:condition eg: d2:condition(‘#{ovc_ra_hiv_active_sex}==“Yes”’,1,0)

1 Like