10.4. Manage indicators

10.4.1. About indicators

An indicator is a formula that can consist of multiple data elements, constants, organisation unit group counts and mathematical operators. The indicator consist typically of a numerator and denominator. You use indicators to calculate coverage rates, incidence and other values that are a result of data element values that have been entered into the system. Calculated totals do not have a denominator.

[Note]Note

You never enter indicators directly in DHIS2, you calculate them.

An indicator formula can consist of mathematical operators, for example plus and minus, and of the following elements:

Table 10.8. Indicator formula

Formula elementTypeDescription

Constant

Component

Constants are numerical values which remain the same for all indicator calculations. This is useful in order to have a single place to change values that might change over time.

Constants are applied AFTER data element values have been aggregated.

Data elements

Component

Data elements are substituted by the data value captured for the data element.

Days

Operator

"Days" is special operator that always provides the number of days for a given indicator calculation.

For example: if you want to calculate the "Percentage of time vaccine refrigerator was non-functional", you could define the numerator as:

("Days-"Number of days vaccine refrigerator was available"")/"Days"

If the fridge was available 25 days in June, the indicator would be calculated as:

(30-25/25)*100 = 17 %

If you want to calculate the total for Quarter 1, the number of days ("Days") would be:

31+28+31 = 90

The "Days" parameter will always be the number of days in the period of interest.

Organisation unit counts

Component

You can use organisation unit groups in formulas. They will be replaced by the number of organisation units in the group. During aggregation, the organisation units in the group will be intersected with the part of the organisation unit hierarchy being requested.

This lets you use the number of public facilities in a specific district in indicators. This is useful for example when you create facility infrastructure surveys and reports.

Programs

Component

Click Programs and select a program to view all data elements, attributes and indicators related to a specific program.

The program components you include in your formula will have a program tag assigned to them.


In the Maintenance app, you manage the following indicator objects:

Table 10.9. Indicator objects in the Maintenance app

Object type

Available functions

Indicator

Create, edit, clone, share, delete, show details and translate

Indicator type

Create, edit, clone, delete, show details and translate

Indicator group

Create, edit, clone, share, delete, show details and translate

Indicator group set

Create, edit, clone, share, delete, show details and translate


10.4.2. Workflow

  1. Create indicator types.

  2. Create indicators.

  3. Create indicator groups.

  4. Create indicator group sets.

10.4.3. Create an indicator type

Indicator types define a factor that is applied during aggregation. Indicator values that are calculated during a data mart export or report table generation process will appear properly formatted, and will therefore not require an additional multiplier (for example 100 in the case of percents) for the values to appear correctly formatted.

[Note]Note

As of version 2.4 of DHIS2, the "Calculated data element" object has been deprecated. Instead, you can create a calculated data element by creating an indicator type with a factor of "1" and by setting the "Number" option to "Yes". The effect of setting the "Number" option to "Yes" will be that the indicator will effectively not have a denominator. You will therefore only be able to define a numerator, which will serve as the formula of the calculated data element.

  1. Click Apps > Maintenance > Indicator > Indicator type.

  2. Click the add button.

  3. In the Name field, type the name of the indicator type, for example "Per cent", "Per thousand", "Per ten thousand".

  4. Type a Factor.

    The factor is the numeric factor that will be multiplied by the indicator formula during the calculation of the indicator.

  5. Click Save.

10.4.4. Create an indicator

  1. Click Apps > Maintenance > Indicator > Indicator.

  2. Click the add button.

  3. In the Name field, type the full name of the indicator, for example "Incidence of confirmed malaria cases per 1000 population".

  4. In the Short name field, type an abbreviated name of the indicator, for example "Inc conf. malaria per 1000 pop".

    The short name must be less than or equal to 25 characters, including spaces.

  5. (Optional) In the Code field, assign a code.

    In many countries indicators are assigned a code.

  6. In the Description field, type a brief, informative description of the indicator and how it is calculated.

  7. If you want to apply an annualization factor during the calculation of the indicator, select Annualized.

    Typically, an annualized indicator's numerator is multiplied by a factor of 12, and the denominator is for instance a yearly population figure. This allows for monthly coverage values to be calculated with yearly population figures.

  8. Select the number of Decimals in data output.

  9. Select an Indicator type.

    This field determines a factor that will automatically be applied during the calculation of the indicator. Possible choices are determined by the indicator types. For example, a "Percent" indicator will automatically be multiplied by a factor of 100 when exported to the data mart, so that it will display as a percentage.

  10. (Optional) Select a Legend set.

    For more information about legend sets, see section "Using the GIS app".

  11. In the URL field, enter a link, for example a link to an indicator registry, where a full metadata description of the indicator can be made available.

  12. Select a Classification.

  13. Click Edit numerator.

    1. Type a clear description of the numerator.

    2. Define the numerator by double-clicking components in the right-hand field. The components then appears as part of the formula in the left-hand field. Add mathematical operators by double-clicking the icons below the left-hand field.

      You formula must be mathematically valid. This includes correct use of parentheses when necessary.

    3. Click Done to save all changes to the numerator.

  14. Click Edit denominator.

    1. Type a clear description of the denominator.

    2. Define the denominator by double-clicking components in the right-hand field. The components then appears as part of the formula in the left-hand field. Add mathematical operators by double-clicking the icons below the left-hand field.

      You formula must be mathematically valid. This includes correct use of parentheses when necessary.

    3. Click Done to save all changes to the denominator.

  15. Click Save.

10.4.5. Create an indicator group

  1. Click Apps > Maintenance > Indicator > Indicator group.

  2. Click the add button.

  3. Type a name.

  4. Select indicators and assign them.

  5. Click Save.

10.4.6. Create an indicator group set

Indicator group sets create combined groups of similar indicators. For example, you might have a group of indicators called "Malaria" and "Leishmaniasis". Both of these groups could be combined into a group set called "Vector-borne diseases". Indicator groups sets are used during analysis of data to combine similar themes of indicators.

  1. Click Apps > Maintenance > Indicators > Indicator group.

  2. Click the add button.

  3. Fill in the form:

    1. Name

    2. Description

    3. Compulsory

  4. Select indicator groups and assign them.

    Available indicator groups are displayed in the left panel. Indicator groups that are currently members of the indicator group set are displayed in the right hand panel.

  5. Click Save.

10.4.7. Edit indicators and other objects

  1. Click Apps > Maintenance > Indicators.

  2. Select the object type you want to edit, for example indicator or indicator group.

  3. In the list, find the object you want to modify.

  4. Click the options menu and click Edit.

  5. Modify the options you want.

  6. Click Save.

10.4.8. Clone indicators and other objects

Cloning an indicator or other indicator objects can save time when you create many similar objects.

  1. Click Apps > Maintenance > Indicators.

  2. Select the object type you want to clone, for example indicator or indicator group.

  3. In the list, find the object you want to clone.

  4. Click the options menu and select Clone.

  5. Modify the options you want.

  6. Click Save.

10.4.9. Change sharing settings for indicators and other objects

  1. Click Apps > Maintenance > Indicators.

  2. Select an object type, for example indicator or indicator group.

  3. In the list, find the object you want to modify.

  4. Click the options menu and select Share.

  5. (Optional) Search for a user group and select it. The user group is added to the list.

  6. Change the settings for the user groups you want to modify.

    • Can view: Everyone in the user group can view the object

    • Can edit: Everyone in the user group can view and edit the object

    The default setting is that everyone (Public access) can view and edit objects.

  7. Click Close.

10.4.10. Delete indicators and other objects

  1. Click Apps > Maintenance > Indicators.

  2. Select the object type you want to delete, for example indicator or indicator group.

  3. In the list, find the object you want to delete.

  4. Click the options menu and select Delete.

  5. Click OK to confirm.