Retail Predictive Application Server (MOSC)

MOSC Banner

question on tsavg

edited Nov 13, 2014 8:49AM in Retail Predictive Application Server (MOSC) 5 commentsAnswered ✓

Hi,

I want to take the avg of the sales for the past 52 weeks.I can use the tsavg function from wtoday to wtoday-52 for taking the avg of the sales for the past 52 weeks.(total sum of sales for 52 weeks/52)

But if the item has registered its first sale from 10 weeks back, then while taking avg, total sum should be divided with 10.

Do we have any function to identiy the first non zero value for finding the avg.

Thanks.

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