CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

Ignoring Negative values in Reports

edited Dec 9, 2014 10:01AM in CRM On Demand - Reports and Dashboards (MOSC) 2 commentsAnswered

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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center