Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Custom prompt based on values last 3 , last 6 , Last 9 and Last 12 months

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.
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