Do one step at a time. Try to use manual running total, see the formula below.
numbervar n;
if {STOJOU.IPTDAT_0} in Aged0To30Days then n:=n+1;
n
Does it work?
The "n" got declared in the first line: numbervar n;
You need all 3 lines in the formula
Then drop the formula to Details section
It works for me, so when you say did not work, what it means? Does the formula not retuen anything, return zeroes or error?
Add comment