Hi Channara,

While it might not have an explicit 'IF', with the help of: 'AND', 'OR',
'==NULL', '!=NULL' and other logical operators, most if not all scenarios
of the IF - Condition can be evaluated especially since the goal is to
aggregate a value only if a specific condition holds.

i.e if( *Registration !=NULL*) THEN ... Aggregate

The same condition in RED is what would go in the condition text area. If
it is a nested IF(one inside the other) , then combining the different
conditions with AND will yield the same effect.


regards,

Sam Kasozi
Information Systems Consultant
HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center
+256 788 993565 | +256 757 662752
kaso...@gmail.com | skas...@pheoc.go.ug <kaso...@gmail.com> | Skype:
sam.kasoziug

On Mon, Mar 2, 2015 at 2:02 PM, Chau Thu Tran <cthut...@gmail.com> wrote:

> Hi Channara,
>
>  Aggregation query builder doesn't have if-condition
>
> Tran Chau
> On Mar 2, 2015 4:30 PM, "channara rin" <rin.chann...@gmail.com> wrote:
>
>> Hi DHIS2 family,
>> Do you know Aggregation query builder has if-condition?
>>
>> Thanks
>> CHANNARA
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to