How to perform logical operations in indicator calculations

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

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_analytics_table_hooks.html

Best regards,

Jason

···

On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje sewejeolaleke@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Thanks Jason, will try these options out and revert.

···

On Wed, May 23, 2018 at 2:00 PM, Jason Pickering jason.p.pickering@gmail.com 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_analytics_table_hooks.html

Best regards,

Jason

On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje sewejeolaleke@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Regards,

Leke Seweje

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@gmail.com wrote:

Thanks Jason, will try these options out and revert.


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

On Wed, May 23, 2018 at 2:00 PM, Jason Pickering jason.p.pickering@gmail.com 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_analytics_table_hooks.html

Best regards,

Jason

Regards,

Leke Seweje

On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje sewejeolaleke@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

John Francis Mukulu,
Software Architect, HISPTZ.

https://hisptanzania.org/

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@gmail.com 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.


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

On Wed, May 23, 2018 at 6:25 PM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Thanks Jason, will try these options out and revert.


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

John Francis Mukulu,
Software Architect, HISPTZ.

https://hisptanzania.org/

On Wed, May 23, 2018 at 2:00 PM, Jason Pickering jason.p.pickering@gmail.com 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_analytics_table_hooks.html

Best regards,

Jason

Regards,

Leke Seweje

On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje sewejeolaleke@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Jim Grace
Core developer, DHIS 2

HISP US Inc.

http://www.dhis2.org

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

···

On May 26, 2018 13:08, “Jim Grace” jim@dhis2.org 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@gmail.com 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.


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


Jim Grace
Core developer, DHIS 2

HISP US Inc.

http://www.dhis2.org

On Wed, May 23, 2018 at 6:25 PM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Thanks Jason, will try these options out and revert.


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

John Francis Mukulu,
Software Architect, HISPTZ.

https://hisptanzania.org/

On Wed, May 23, 2018 at 2:00 PM, Jason Pickering jason.p.pickering@gmail.com 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_analytics_table_hooks.html

Best regards,

Jason

Regards,

Leke Seweje

On Tue, May 22, 2018 at 4:14 PM, Olaleke Seweje sewejeolaleke@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049