Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 53 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 293 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.4K Oracle Analytics and AI Forums
- 6.5K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 116 Oracle Analytics and AI Trainings
- 21 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
How to pass default value in filter for between clause
Hello,
I am using a filter on "Effective Date" column which is taking start/end date from dashboard prompt with presentation variable.
Now issue is, i want to have some dynamic default values for both start/end date.
Below is the filter which i am using -

For Default values, it doesn't pick the TIMESTAMPADD function.
So as a Default values, End date should be MAX("Master Mappings"."Effective Date") and Start Date should be (MAX("Master Mappings"."Effective Date") -6) means 6 month earlier one.
Please help to achieve the same.
Thanks
Chandra M.
Answers
-
Why not default on your prompts?
Otherwise, you are currently casting as a date and then treating it as a timestamp, you need to explicitly convert it to a timestamp.
Not convinced your max requirement is achievable in a default, unless any knows otherwise?
0