Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 53 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 288 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.5K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 111 Oracle Analytics and AI Trainings
- 21 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Calculate past week sales from last year
User_YQZHD
Rank 2 - Community Beginner
Hello,
I have a requirement to calculate sales as below
- Past week in current year
- Past week in last year
For the 1st one, I was using AGO formula of Ago(Sales,Week,1 ) and it works well.
For the next one, I was trying Ago(Ago(Sales,Year,1 ),week,1) and it fails with error message of
"Nesting of EGO or TODATE functions with differing level argument is not supported" and I see why, since my formula has two levels, YEAR and WEEK.
Looking for inputs on how we can achieve the 2nd one.
Thanks
Tagged:
0
Answers
-
Try with this Ago(Sales,Week,52) or may be can be 53 weeks ago.
0