Hi devs, I’m trying (in 2.25) to make a program indicator counting events where
a specific data element has not been filled.
Tested so far:
- d2:hasValue(‘wmSb9TmevMn.jeK5z6acB3N’) => not supported in
program indicators, only program rules
- #{wmSb9TmevMn.jeK5z6acB3N} == ‘’ => no data
- #{wmSb9TmevMn.jeK5z6acB3N} != ‘’ => counts the events
WITH data, but I’m unable to «invert» this:
-- !(#{wmSb9TmevMn.jeK5z6acB3N} != ‘’) => no data,
catalina.out shows: ERROR: operator does not exist: ! boolean
-- (#{wmSb9TmevMn.jeK5z6acB3N} != '') != true => no data
- #{wmSb9TmevMn.jeK5z6acB3N} is null => works, but is not a
supported format from what I understand.
In general, what is displayed in «Filter description» and what actually works
is not consistent - some things are invalid, but work, others are valid but
don’t work…
Any advice?
Regards
Olav
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp