Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Calculate past week sales from last year

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
Answers
-
Try with this Ago(Sales,Week,52) or may be can be 53 weeks ago.
0