← Back to team overview

dhis2-users team mailing list archive

Re: Booleans

 

On Mon, May 3, 2010 at 2:03 PM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) <
rdf4@xxxxxxx> wrote:

>   How do booleans aggregate (a) across time periods; (b) up the
> organizational tree.  The answer for (b) appears to be OR, was hoping for
> COUNT.
>
>
Hi,

it depends on the aggregation operator for the relevant data element. If
SUM, then its count. If AVG, then its the percentage of true's.

Lars


> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References