← Back to team overview

dhis2-users team mailing list archive

Re: Data element returning unexpected value

 

Hi Ibrahim,

in fact there was a bugfix recently in this regard. Can you try upgrade to
latest stable version from dhis2.org/downloads, regenerate analytics and
try again?

regards,

Lars


On Mon, Jun 13, 2016 at 2:59 PM, Ibrahim Bayoh <
ibrahim.bayoh@xxxxxxxxxxxxxxxxxxxx> wrote:

> HI all,
> Regarding, my previous email. The "Yes Only", in DHI2 keeping returning
> value of "2". Ideally i believe the "Yes Only" value type should return a
> "1" when it's checked or a "0" when its not. Is this a bug or are mine
> doing something wrong. The idea here is to get a count of all value for the
> "Yes only" field. Can anyone help?
>
> Thanks,
> Bayoh.
>
> On Tue, May 31, 2016 at 6:03 PM, Ibrahim Bayoh <
> ibrahim.bayoh@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Hi All,
>> I try to get a count of all form that was reported time. The screenshot
>> shows a weekly IDSR form, at the right there is a checkbox labeled "Timely
>> Report", it's a data element with data type of "yes only". As expected when
>> user check the box it suppose to store a value of 1 if the user check the
>>  box or 0 if they didn't for every form. In return we can use this to get
>> an accurate count of all forms that are regarded as timely by the user.
>>
>>
>> [image: Inline image 1]
>>
>> But unfortunately this is not the case, instead of get a single value of
>> 1 returned, 2 was returned for every form. [image: Inline image 2]
>>
>> Has anyone experience this before?
>> Thanks,
>> Bayoh.
>>
>> --
>> Ibrahim Rashid Bayoh
>> Information Systems Coordinator,
>> eHealth Africa(Sierra Leone)
>> *117 Wilkinson Rd, Freetown, Sierra Leone*
>> Mobile: +232 88-765-638
>> ibrahim.bayoh@xxxxxxxxxxxxxxxxxxxx
>> http://ehealthafrica.org/
>>
>>
>
>
> --
> Ibrahim Rashid Bayoh
> Information Systems Coordinator,
> eHealth Africa(Sierra Leone)
> *117 Wilkinson Rd, Freetown, Sierra Leone*
> Mobile: +232 88-765-638
> ibrahim.bayoh@xxxxxxxxxxxxxxxxxxxx
> http://ehealthafrica.org/
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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

PNG image

PNG image


References