Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 40 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 276 Oracle Analytics and AI News
- 50 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 102 Oracle Analytics and AI Trainings
- 17 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
How do we get trend from current year and current year -2 years
Ibag
Rank 3 - Community Apprentice
Hi Gurus,
I am looking for an idea to implement. I have to show a graph of sales trend(bar grpah). When I pick a year from prompt, graph has to display the sales data of year(selected from prompt), year-1 and year-2 data.
Ex: If I pick 2016 as my year, the bar graph has to show data for 2016, 2015 and 2014. I am unsure about deriving the attribute how to display 2016,2015 and 2014 when we select from prompt.
Thanks
0
Answers
-
If it's a numeric year you get from the prompt you can just do "Time"."Year" >= @{pvYear}{2016}-2
0