← Back to team overview

dhis2-devs team mailing list archive

Re: How to perform logical operations in indicator calculations

 

That's okay, Jim. Will be great to have such a feature implemented.

On May 26, 2018 13:08, "Jim Grace" <jim@xxxxxxxxx> wrote:

> Hi Leke,
>
> Thank you for the question. We are collecting requests for enhancements to
> indicator expressions, and other analytics expressions, in the Jira Epic at
> https://jira.dhis2.org/browse/DHIS2-3187. I have taken the liberty of
> copying your email (without the email addresses) into Jira issue
> https://jira.dhis2.org/browse/DHIS2-3820 which is linked to this Jira
> Epic.
>
> Cheers,
> Jim
>
>
> On Thu, May 24, 2018 at 11:34 AM, John Mukulu <john.f.mukulu@xxxxxxxxx>
> wrote:
>
>> Hello Olaleke and Jason,
>> We're currently slowly working through documenting the functions
>> maintenance, but if you need quick intro and help on it, I have copied my
>> Colleague Vincent Minde who's working on it, he'll help.
>>
>> Cheers.
>>
>> On Wed, May 23, 2018 at 6:25 PM, Olaleke Seweje <sewejeolaleke@xxxxxxxxx>
>> wrote:
>>
>>> Thanks Jason, will try these options out and revert.
>>>
>>> On Wed, May 23, 2018 at 2:00 PM, Jason Pickering <
>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>
>>>> Hi  Leke,
>>>>
>>>> This is currently not possible with aggregate data. You can have a look
>>>> at this app (https://play.dhis2.org/appstore/app/dXX2Fk6jwCX) which
>>>> may help you to implement this.
>>>>
>>>> You may also want to have a look at the documentation on analytics
>>>> hooks, which may help you to implement these types of indicators with
>>>> custom scripts.
>>>>
>>>> https://docs.dhis2.org/master/en/developer/html/webapi_analy
>>>> tics_table_hooks.html
>>>>
>>>> Best regards,
>>>> Jason
>>>>
>>>>
>>>> On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje <
>>>> sewejeolaleke@xxxxxxxxx> wrote:
>>>>
>>>>> Hello all,
>>>>> Please I am looking for a way to perform logical operations in DHIS.
>>>>> I have an indicator calculation that has a denominator specified as
>>>>>
>>>>> org unit counts that belong to a group (e.g. Group 1) AND have
>>>>> reported in the past month.
>>>>>
>>>>> Any ideas on how I can set this up in DHIS will be appreciated.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Leke Seweje
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Jason P. Pickering
>>>> email: jason.p.pickering@xxxxxxxxx
>>>> tel:+46764147049
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> John Francis Mukulu,
>> Software Architect, HISPTZ.
>> https://hisptanzania.org/
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Jim Grace
> Core developer, DHIS 2
> HISP US Inc.
> http://www.dhis2.org <https://www.dhis2.org/>
>

References