← Back to team overview

dhis2-devs team mailing list archive

Re: Indicator Definition

 

Hi Lungo,

Would be good if you could also provide us with the real use case
(indicator and data element names) here, that would make it easier (at
least for me) to try to see how DHIS can support it.

Ola
-------
----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Vetlandsvn. 95B, 0685 Oslo, Norway. Googlemaps
link<http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Vetlandsvn.+95B,+0685+Oslo,+Norway>


On 7 February 2012 12:24, Juma Lungo <jlungo@xxxxxxxxx> wrote:

> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References