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
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations 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