← Back to team overview

dhis2-users team mailing list archive

Re: Adding two programs Indicators


Hi Stanley,

If you have built the two program indicators separately you can add them together in Aggregate indicators. Go to indicators and add the program indicators in the numerator:

1)      Select the program in which the program indicators are built

2)      Choose indicators in the far right

3)      Select the indicators that you would like to sum in the expressions.
Let me know if it works.


From: Stanley Kalyati [mailto:skalyati@xxxxxxxxx]
Sent: Wednesday, May 17, 2017 10:34 PM
To: Georgi Chakarov <georgi@xxxxxxxxxxxxxxxxxxx>
Cc: DHIS 2 Developers list <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; DHIS Users <dhis2-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Dhis2-users] Adding two programs Indicators

Thank you Georgi,

That is fine but i was looking exactly at this example.

When i create two indicator I.e Clients already positive and another one Clients tested positive.I want these two indicators added...A+B=C



On May 17, 2017 9:27 PM, "Georgi Chakarov" <georgi@xxxxxxxxxxxxxxxxxxx<mailto:georgi@xxxxxxxxxxxxxxxxxxx>> wrote:
Hi Stanley,

I suppose that you have clients for whom you collect data about age and sex. Right?

In program indicators you can count the tracked entity instances (use Count of tracked entity instances in the expression) with filter Age <= 20. This should give you the count of all clients below age of 20.

Let me know if have questions.


From: Dhis2-users [mailto:dhis2-users-bounces+georgi<mailto:dhis2-users-bounces%2Bgeorgi>=logicaloutcomes.net@xxxxxxxxxxxxxxxxxxx<mailto:logicaloutcomes.net@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Stanley Kalyati
Sent: Wednesday, May 17, 2017 8:40 PM
To: DHIS Users <dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>>; DHIS 2 Developers list <dhis2-devs@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>>
Subject: [Dhis2-users] Adding two programs Indicators

How can one add two program indicators to give one result?

For example. Number of female clients aged below 20 plus Number of male clients clients aged below 20.Is this possible with program indicators?



Follow ups