← Back to team overview

dhis2-devs team mailing list archive

Re: Org Unit count

 

Hi Mugeni,

here is a guess: You need to use a group for your indicator which contains
facilities only, not facilities and districts. I suspect you are using an
org unit group which contains the districts as well.

regards,

Lars


On Tue, Nov 10, 2015 at 10:46 AM, Mugeni Harold <hmugeni@xxxxxxxxx> wrote:

> Hi Alex,
>
>
>
> Yes, it seems to be doing that. Is that by design or is it a bug?
>
>
>
> Harold
>
>
>
> *From:* Alex Tumwesigye [mailto:atumwesigye@xxxxxxxxx]
> *Sent:* Tuesday, November 10, 2015 11:41 AM
> *To:* Mugeni Harold
> *Cc:* dhis2-users@xxxxxxxxxxxxxxxxxxx; DHIS 2 developers
> *Subject:* Re: [Dhis2-devs] Org Unit count
>
>
>
> Dear Harold,
>
>
>
> Sounds like it counts the root/parent organisation unit.
>
>
>
> Alex
>
>
>
> On Tue, Nov 10, 2015 at 12:31 PM, Mugeni Harold <hmugeni@xxxxxxxxx> wrote:
>
> Hallo everyone,
>
>
>
> I am working on some indicators that require number of org units under a
> given org unit e.g. number of health facilities under a district. I am
> using the org unit count under the indicator numerator or denominator
> section, but I have noticed that the count returned is always with an extra
> one i.e. where I expect 22 facilities, it is giving me 23. Is this a bug or
> something to do with the hierarchy?
>
>
>
> Thank you,
>
> Harold
>
>
>
>
> _______________________________________________
> 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
>
>
>
>
>
> --
>
> Alex Tumwesigye
>
>
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET
>
> Kampala
>
> Uganda
>
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>
> IT Specialist (Servers, Networks and Security, Health Information Systems
> - DHIS2 ) & Solar Consultant
>
> +256 774149 775, + 256 759 800161
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>
> _______________________________________________
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

Follow ups

References