Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
How do we get trend from current year and current year -2 years

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
Answers
-
If it's a numeric year you get from the prompt you can just do "Time"."Year" >= @{pvYear}{2016}-2
0