Retail Predictive Application Server (MOSC)

MOSC Banner

Writing counter logic in RPAS rules

edited Jan 4, 2016 3:29AM in Retail Predictive Application Server (MOSC) 4 commentsAnswered ✓

Hi,

I am trying to figure out the logic to implement a counter logic.

MeasureA(csku_mkrt)  is a user entered value and need to be compared with MeasureB(day_csku_mkrt) and need to pick up the days data which matches the condition.

So logic will be like below:

MeasureC(day_csku_mkrt) = if (current > today &&MeasureA - MeasureB >=0, true,false)

In this case it will mark days true where MeasureAis greater than MeasureB value.  How to handle cases when the MeasureA value is less than MeasureB value and logic should stop at the day where it MeasureA first time goes -ve.

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