← Back to team overview

dhis2-devs team mailing list archive

Re: Issue with program Indicators

 

Thanks, Lars.

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Mon, May 16, 2016 at 6:41 PM, Lars Helge Øverland <lars@xxxxxxxxx> wrote:

> Hi Archana,
>
> thanks for reporting. This is expected behavior as under the expression,
> we only list data elements/attributes which value type is possible to
> aggregate. This means basically numeric value types. The expression will be
> evaluated to a number, hence this rule (e.g. 5 x 2).
>
> The filter will be evaluated to a boolean (true or false) (e.g. Gender ==
> 'Male'), hence we allow all value types there.
>
> Hope this explains it.
>
> regards,
>
> Lars
>
>
> On Mon, May 16, 2016 at 1:43 PM, Archana Chillala <
> archanac@xxxxxxxxxxxxxxxx> wrote:
>
>> Hi,
>>
>> We are trying to create some indicators for a program. And the program
>> stage has some data elements added to it. But, to form an expression on the
>> program indicators module, not all added data elements are available. And
>> without the required elements, we are not able to form an expression.
>> However, all the elements are available in the "Filter" section. How can we
>> resolve this?
>>
>> *For example*, on the demo server,
>> We have a program called '*Child Programme'* that has some indicators
>> for two stages "*Birth*" and "*Post Natal*".
>>
>>  The "Birth" stage has the following data elements assigned to it.
>>
>>
>> [image: Inline image 1]
>> But on the "*expression"* section of indicators, only a few data
>> elements show up:
>>
>> [image: Inline image 2]
>>
>>
>> However, in the "Filter" section of indicators - all the data elements
>> are shown:
>>
>> [image: Inline image 3]
>>
>> Is this a known issue? or are we missing something?
>> Any help on this would be appreciated.
>>
>>
>>
>> *Cheers,*
>>
>> Archana Chillala
>> Application Developer
>> Email archanac@xxxxxxxxxxxxxxxx
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>
>> _______________________________________________
>> 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
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>

PNG image

PNG image

PNG image


References