Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 19 Oracle Analytics Lounge
- 222 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 83 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Custom prompt based on values last 3 , last 6 , Last 9 and Last 12 months

Muhammad_Saad
Rank 1 - Community Starter
Hi!
We have a requirement to create custom prompt based on values such as:
-last 3 months
-last 6 months
-Last 9 months
-Last 12 months
Above parameters work based on current date and we are using General ledger - Transactional Balances Real Time.
Thanks.
0
Answers
-
Hi @Muhammad_Saad,
Welcome to the Oracle Analytics Community!
Would prompt like following be sufficient?
If yes, then you can use the following codes to default the prompt values.
SELECT
"General Ledger - Journals Real Time"."Time"."Fiscal Date" s_1
FROM "General Ledger - Journals Real Time"
WHERE
(("Time"."Fiscal Date" IN (CURRENT_DATE - 90)))SELECT
"General Ledger - Journals Real Time"."Time"."Fiscal Date" s_1
FROM "General Ledger - Journals Real Time"
WHERE
(("Time"."Fiscal Date" IN (CURRENT_DATE)))Hope this help.
Thank you.
0 -
Hi @Muhammad_Saad,
Please find below the prompt for last 3 months using the above logic.
Hope this help.
Thank you.
0