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.
But on the "expression" section of indicators, only a few data elements show up:
However, in the “Filter” section of indicators - all the data elements are shown:
Is this a known issue? or are we missing something?
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.
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.
But on the "expression" section of indicators, only a few data elements show up:
However, in the “Filter” section of indicators - all the data elements are shown:
Is this a known issue? or are we missing something?
On Mon, May 16, 2016 at 6:41 PM, Lars Helge Øverland lars@dhis2.org 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.
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.
But on the "expression" section of indicators, only a few data elements show up:
However, in the “Filter” section of indicators - all the data elements are shown:
Is this a known issue? or are we missing something?