Retail Predictive Application Server (MOSC)

MOSC Banner

RPAS - To assign difference of 2 date measures as a number to another measure

edited May 17, 2012 11:36PM in Retail Predictive Application Server (MOSC) 2 commentsAnswered ✓
Hi,

I have 2 measures - one at sku/location level which is a 'sale date' and is of type 'date', Another measure is 'nbrofdays' which is also at sku/location level and is of type 'real'.

I need to find the number of days from today to the sale date i.e. e.g. if sale date is 01-apr-2012 and today-15-may-2012, then nbrofdays = 44 days, and assign it to 'nbrofdays' measure 

My workbook does not have a dimension of 'day' in the base intersection, but can add 'day' to the base intersection if that can solve this issue..

Tried the below rule, but is giving me erronoeus value.

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