Skip to main content
Question

Lobby Date Parameter Issue

  • October 30, 2024
  • 2 replies
  • 128 views

Forum|alt.badge.img+1

Hello,

I am facing an issue in the lobby while including the date parameter. The data is not populating in the lobby.

Cloud version - 23R1 

(Note - We need the date as a datatype to get the calendar below to pick the desired date from the calendar)
 



In the main view, the date (balance_date) is formatted as “DD-MON-YY”
The page parameter uses the format “YYYY-MM-DD”.

Subquery’s date (balance_date) is also formatted as “DD-MON-YY”.

The picture below shows the format as “DD/MM/YYYY”, but in reality, it is using the format “YYYY-MM-DD”.

Page Parameter

 

Lobby Page


The below is the condition in data source designer.
 

Data Source where condition

When i tried running the same condition by hardcoding all parameter in sql developer, the query runs successfully.

 

SS of Sql developer

Can someone please help me with a solution.
 

2 replies

Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • October 31, 2024

.


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • October 31, 2024

UPDATE

I tried the below conversion and it worked for me.

where TO_DATE(TO_CHAR(balance_date,'YYYY-MM-DD'),'YYYY-MM-DD') <= '$DATE$'


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings