Categories
- All Categories
- Oracle Analytics Learning Hub
- 26 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 234 Oracle Analytics News
- 45 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 87 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
How to calculate YTD for current Year and YTD Month Ago for Current Year
Hello,
I am showing Year, Month and Customer Counts in report. My requirement is to calculate Current year YTD and Current YTD Month Ago and get the difference or growth on these measures. So I am using
TODATE(Customer Counts, Dimension Date.Dim Date.Year)
for current YTD which is giving intended results. Now I want to calculate YTD month ago for same year and I am using
AGO(TODATE(Customer Counts, Dimension Date.Dim Date.Year), Dimension Date.Dim Date.Month, 1)
which is giving error of [nQSError: 22044] Nesting of AGO or TODATE functions with differing level arguments is not supported.
How to achieve this calculation.
Help would be appreciated.
Thank you.
Answers
-
Hi all, I resolved it by subtracting current month from year to date which gave me required results.
Thank you.
0