Ignoring Negative values in Reports
Hi All,
I am using following expression in column formula to remove negative values in the result but it is not working:
CASE WHEN ((CASE WHEN Activity.Subject='Survey Targeted' THEN COUNT(DISTINCT Activity."Activity ID") ELSE 0 END) - (CASE WHEN Activity.Subject='Survey Response' THEN COUNT(DISTINCT Activity."Activity ID") ELSE 0 END)) >= 0 THEN ((CASE WHEN Activity.Subject='Survey Targeted' THEN COUNT(DISTINCT Activity."Activity ID") ELSE 0 END) - (CASE WHEN Activity.Subject='Survey Response' THEN COUNT(DISTINCT Activity."Activity ID") ELSE 0 END)) ELSE NULL END
Could you please advise what can be the issue and how it can be resolved?