Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
Default dashboard prompt

655355
Member Posts: 26
How can I get the YEAR to default in the dashboard prompt to CURRENT YEAR?
What settings to I need to change to accomplish this?
Thanks
What settings to I need to change to accomplish this?
Thanks
Tagged:
Answers
-
There are several ways to do this.
You can setup a session variable in the Physical model that has an initialization block which does something along the lines of SELECT to_char(SYSDATE,'YYYY') from dual (Oracle).
Or you can define it for the prompt itself - when you define the prompt you can set the default based on SQL and the function YEAR(Current_Date).
This discussion has been closed.