Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 1903

How to create a programme indicator to count the number of 10-14 year olds in a programme

$
0
0

I want to create a programme indicator that counts how many 10-14 year olds have received a service. I have a working indicator that shows the total number of people reached with a service. I therefore want to add something onto the end of the filter that that filters for age. Looking at other posts here, it looks like it should be something like:

&& d2:yearsBetween(A{FJa9259tPvx},V{current_date})>=10 && d2:yearsBetween(A{FJa9259tPvx},V{current_date})<=14

(where A{FJa9259tPvx} = A{Date of birth/Age attribute})

However:
a) This doesn’t work (it returns all the people who received a service regardless of age) and
b) If at all possible i would like the age to be calculated based on the person’s age at the end of the time period i am measuring. However that’s less important than getting the actual indicator to work!

We are on version 2.37.9.

Thank you in advance!

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1903

Trending Articles