← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Indicators or Validations when using Combination of categories on DataSet

 

Hi Rodolfo,

Do you know if there’s been any update on this question? I am particularly interesting in creating indicators that combine data elements from different data set categories.

Please let me know.

Thanks.

Busoye

> On 31 Mar 2015, at 18:13, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:
> 
> Hi Alex - that will work, but we are looking at using Validation Rules, so they can be used for both, data entry and data import. Also, there are some indicators that I need to calculate that only use as numerator a specific DataValue that belong to one of the DataSetAttributes.
> 
> I may need to reverse the decision of using the Dataset Attributes, and instead do it the classic way: just Data Elements and CatCambos.
> 
> R
> 
> 
> On Tue, Mar 31, 2015 at 2:21 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx <mailto:atumwesigye@xxxxxxxxx>> wrote:
> Dear Rodolfo,
> 
> How about using a custom form with some jquery enforcing whatever you need?
> 
> 
> Alex
> 
> On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia <rmelia@xxxxxxxxxxxx <mailto:rmelia@xxxxxxxxxxxx>> wrote:
> Continuation of my question: 
> 
> Is it possible to write Indicator/ Validation expressions using a syntax that can refer to the DataSet Attribute, even if the UI doesn't expose it?
> 
> Can I refer to a particular DataValue as [DataElement UID].[CatCombo UID].[DataSetAttribute] ?
> 
> Otherwise I cannot use DataSetAttributes in my design: they are visible on analytics, but there are not exposed on Validations or Indicators, making them difficult (sometimes impossible) to use. 
> 
> R
> 
> Rodolfo Meliá
> Principal  |  rmelia@xxxxxxxxxxxx <mailto:rmelia@xxxxxxxxxxxx>
> Skype: rod.melia  |   <>+44 777 576 4090  |   <>+1 708 872 7636 <tel:%2B1%20708%20872%207636>
> www.knowming.com <http://www.knowming.com/>
>  <>
> 
> On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx <mailto:rmelia@xxxxxxxxxxxx>> wrote:
> When using a combination of Categories on a Data Set - how can I write a validation rule that compares values between the categories used by the DataSet, rather than the total?
> 
> Similarly, how can I define an Indicator that uses for the numerator one Combination of Category of the data set, and then a different one for the denominator?
> 
> In neither case the category combination is exposed on the User Interface: only the DataElements and related CatCombos are exposed. 
> 
> 
> Rodolfo
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-users <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp <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-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp


-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclaimer@xxxxxxxx 
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*

References