I am trying to achieve this use case: when there is no date picked I want to show all the results but when I have date picked I want it to filter.
fyi: the date getting picked are YYYY-MM-DD HH24:MI:SS in the presentation variable, but the date format in my query is dd-mon-yy. So when I need to convert the value of the presntation varible to dd-mon-yy. OBIEE doesnt like when I play around with the values, and the BI server does not let me look at the error message. I dont have access to change the format on the server level so my only option is to use formulas
I'm new to presentation variable. ALso I need you'll to remember if there is no date selected in the prompt I would want all values returned
code:
and
( ( main_query.schd_compare >= (@{pv_task_sch_st_date}['@']{NVL(main_query.schd_compare,'None')})
)
AND (
main_query.schd_compare <= (@{pv_task_sch_end_date}['@']{NVL(main_query.schd_compare,'None')})
) )
I need help with syntax for obiee