Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 281 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 106 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Answers - Linking Prompt with Filter using Presentation Variable
Hi,
I have two columns called "FISCAL YEAR" and "FISCAL PERIOD NUMBER", I am trying to connect these columns to dashboard prompt.
So when end user selects any date it automatically extract year and month from the prompt and use for FISCAL YEAR and FISCAL PERIOD NUMBER.
I tried applying filter condition so Month and Year can be extracted by casting presentation variable via prompt. (Filter converted into sql)
CAST("Time"."Fiscal Year" as char) = (CAST(YEAR((@{PVAR_PERIOD_START_DATE}{'01/01/2015'})) as Char))
CAST("Time"."Fiscal Period Number" as char) = (CAST(MONTH((@{PVAR_PERIOD_END_DATE}{'30/06/2015'}))as char))
I get this error -
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P

Answers
-
Some hint might exist here. How to return current month
There seems to be an issue with data types around database column, RPD physical column and conversion. Why would one define a LONG datatype for a date value?
Regards,
Manoj.
0 -
You need a properly formed Time (Date) dimension that has the Year and the Period on the individual date row in the database table ... it's the most efficient and easiest to implement. Use drives physical design.
0