I am encountering an issue when using Z-score calculation in a program rule within any program. Whenever I apply the calculation, I get an error in the console.
Steps I have taken to debug:
Checked if the value exists using d2:hasValue() for weight,height,gender
Ensured the value is greater than 0 before performing calculations
Were you able to reproduce this issue on play or a local demo instance? If you were able to reproduce this issue on any of the play.dhis2.org instances would you share the steps to reproduce so I can test on my side?