← Back to team overview

dhis2-users team mailing list archive

Re: Data Element Category Combination not combining

 

Hi John,

The same happened to me, and the point was that I added a Data Element
Category to the Data Element Category Combination when it (the combination)
was already assigned to a data element, wich also was already assigned to a
data set.
The solution was to create again the Category Combination and assing it to
the data element. Not elegant... but it did work :)

So I suggest...  make sure you did everything in the order " categories ,
categories combination, data element, data set " and if you didn't or don't
remember... Create a new category combination from scratch and check if it
works then.

Hope it helps!

Marta

2011/10/5 Lars Helge Øverland <larshelge@xxxxxxxxx>

> Hi John,
>
> hard to say. Are you sure that ALL of those data elements share the
> same category combination? Any exceptions in the log? Is your database
> online somewhere so we can have a look?
>
> regards, Lars
>
> On Mon, Oct 3, 2011 at 6:38 PM, John Ojo <jnojo@xxxxxxxxx> wrote:
> > Hi All,
> >
> > I currently have dhis 2 version2.4 installed on a Windows platform and
> using
> > MySQL version 5.1.57-community server as the database.
> > I created two data element categories namely:
> > Age with the category options 'Less 15 yrs' and '15+ yrs'
> > Sex with the category options 'M' and 'F'
> > I then created a data element category combination called AgeSex with the
> > selected categories being Age and Sex.
> > Next, I created a few data elements and selected AgeSex into the
> combination
> > of categories field.
> > I then created a dataset consisting of the data elements previously
> created.
> > The problem now is, I tried creating a data entry form but when I opened
> the
> > data entry design form, the data elements in the selection box show only
> the
> > Age category options and not the Sex. So, for each of my data elements, I
> > have only two options:
> > data_element_name(15+ yrs)
> > data_element_name(Less 15 yrs)
> >
> > instead of the expected four options:
> > data_element_name(15+ yrs, F)
> > data_element_name(15+ yrs, M)
> > data_element_name(Less 15 yrs, F)
> > data_element_name(Less 15 yrs,M)
> > Please, is there anything I'm not doing right? I need your help to
> resolve
> > this.
> > Thank you.
> > John.
> >
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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
>

Follow ups

References