Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

data is not fetching when used prompts in derived table

$
0
0

Hi,

 

 

I created derived table in the universe and pass the parameter as prompt, I am not able to get the data when i used betwen the dates.

 

 

 

Here "CLOSED_DATE" is in  Unix epoch time and converting to human readable dates.

 

 

 

SELECT * FROM stocks

Where

TO_DATE('01-JAN-1970','dd-mon-yyyy')+((CLOSED_DATE +10800)/60/60/24) between @Prompt('Enter Start Date','D',,,,) and @Prompt('Enter End Date','D',,,,)

 

 

Please let me know what's the problem.  We have 4.1 SP6.

 

 

 

For passing string parameter in prompt is working;

-------------------------------------------------

SELECT * FROM stocks

Where SID=@Prompt('Enter ID','C',,,,)

 

 

Thanks.

 

 

BR


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>