Single Data Set with different data elements possible?

Dear community,
Is it possible to have a data set with different data elements per usage scenario? So for example,

Data elements

Element 1

Element 2

Element 3

Category

Cat 1

Cat 2

Data Set

Elements out of stock

In the above, is is possible to have the data set form show Element 1 and 2 when Cat 1 is selected and show only Element 3 when Cat 2 is selected?

···

Regards,

Leke Seweje

Hi Leke,

There is no native functionality in the aggregate data entry modules to do this. You would need to implement this with JavaScript in your custom form.

Best regards,

Jason

···

On Fri, May 11, 2018 at 6:49 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Dear community,
Is it possible to have a data set with different data elements per usage scenario? So for example,

Data elements

Element 1

Element 2

Element 3

Category

Cat 1

Cat 2

Data Set

Elements out of stock

In the above, is is possible to have the data set form show Element 1 and 2 when Cat 1 is selected and show only Element 3 when Cat 2 is selected?


Regards,

Leke Seweje


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

okay, i was looking at that option but won’t that create null values for the hidden data elements?
So if i have Elements 1 and 2 filled and hide Element 3, my understanding is that there will be a null value for Element 3 in the DB and analysis tools like Pivot table.

Is that correct?

···

On Fri, May 11, 2018 at 11:55 AM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Leke,

There is no native functionality in the aggregate data entry modules to do this. You would need to implement this with JavaScript in your custom form.

Best regards,

Jason

On Fri, May 11, 2018 at 6:49 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Dear community,
Is it possible to have a data set with different data elements per usage scenario? So for example,

Data elements

Element 1

Element 2

Element 3

Category

Cat 1

Cat 2

Data Set

Elements out of stock

In the above, is is possible to have the data set form show Element 1 and 2 when Cat 1 is selected and show only Element 3 when Cat 2 is selected?


Regards,

Leke Seweje


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Regards,

Leke Seweje

Hi Sele,

There will be NO value, not a null value. I am not sure the distinction is important, but there should not be a value in analytics at all if no data has been transmitted.

Regards,

Jason

···

On Fri, May 11, 2018 at 7:03 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

okay, i was looking at that option but won’t that create null values for the hidden data elements?
So if i have Elements 1 and 2 filled and hide Element 3, my understanding is that there will be a null value for Element 3 in the DB and analysis tools like Pivot table.

Is that correct?

On Fri, May 11, 2018 at 11:55 AM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Leke,

There is no native functionality in the aggregate data entry modules to do this. You would need to implement this with JavaScript in your custom form.

Best regards,

Jason

Regards,

Leke Seweje

On Fri, May 11, 2018 at 6:49 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Dear community,
Is it possible to have a data set with different data elements per usage scenario? So for example,

Data elements

Element 1

Element 2

Element 3

Category

Cat 1

Cat 2

Data Set

Elements out of stock

In the above, is is possible to have the data set form show Element 1 and 2 when Cat 1 is selected and show only Element 3 when Cat 2 is selected?


Regards,

Leke Seweje


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Absolutely.

Untitled (242 Bytes)

···

Sent from Yahoo Mail on Android

On Fri, 11 May 2018 at 12:47, Jason Pickering > jason.p.pickering@gmail.com wrote:


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Okay then, i will try this and see.

thanks for your help.

···

On Fri, May 11, 2018 at 12:46 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Sele,

There will be NO value, not a null value. I am not sure the distinction is important, but there should not be a value in analytics at all if no data has been transmitted.

Regards,

Jason

On Fri, May 11, 2018 at 7:03 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

okay, i was looking at that option but won’t that create null values for the hidden data elements?
So if i have Elements 1 and 2 filled and hide Element 3, my understanding is that there will be a null value for Element 3 in the DB and analysis tools like Pivot table.

Is that correct?


Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Fri, May 11, 2018 at 11:55 AM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Leke,

There is no native functionality in the aggregate data entry modules to do this. You would need to implement this with JavaScript in your custom form.

Best regards,

Jason

Regards,

Leke Seweje

On Fri, May 11, 2018 at 6:49 AM, Olaleke Seweje sewejeolaleke@gmail.com wrote:

Dear community,
Is it possible to have a data set with different data elements per usage scenario? So for example,

Data elements

Element 1

Element 2

Element 3

Category

Cat 1

Cat 2

Data Set

Elements out of stock

In the above, is is possible to have the data set form show Element 1 and 2 when Cat 1 is selected and show only Element 3 when Cat 2 is selected?


Regards,

Leke Seweje


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Regards,

Leke Seweje