Hello everyone, I was trying to set up a program indicator with a custom aggregation type with the following expression: sum ( (#{DE1} - avg (#{DE2})) / #{DE1}) * 100
It wasn't working (e.g. result displayed in form was "false") and during our "investigations", we've discovered the fact that the tracker capture app was logging the following messages "sum is not defined" and "avg is not defined". I've tried to find an example of Program indicator with custom aggregation type on the play server which I could copy but we faced the same problem with the one we've found ( https://play.dhis2.org/2.29/api/29/programIndicators/yFTplrY7NaL <https://play.dhis2.org/2.29/api/29/programIndicators/yFTplrY7NaL.json> ) Btw, we've tried to simplify the expression to "sum (#{DE1})" (leaving the aggregation type as custom) and were facing the same troubles. Can someone tell me if we're doing something wrong, if we've wrong expectations, if it's known bug (found nothing on the Jira), or if the custom aggregation type is no longer supported... Thx for your lights, Thomas [image: BLUESQUARE NEW FINAL VECT-01.png] Thomas Warichet www.bluesquarehub.com [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png] <https://www.facebook.com/blsqhub/> [image: linkedin.png] <https://www.linkedin.com/company/bluesquarehub>
_______________________________________________ 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