Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 53 Oracle Analytics and AI Sharing Center
- 25 Oracle Analytics and AI Lounge
- 306 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.4K Oracle Analytics and AI Forums
- 6.6K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 117 Oracle Analytics and AI Trainings
- 22 Oracle Analytics and AI 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