Quantcast
Channel: SCN : Discussion List - BI Platform
Viewing all articles
Browse latest Browse all 5403

Subtract 30 days from promted date

$
0
0

Hi experts,

 

I try to make a universe filter which give me 30 days before day prompted. On where condition I write something like this:

 

to_char(start_time) between (to_date(@prompt('Day','D',,,)) - interval '30' day) and to_date(@prompt('Day','D',,,)))

 

I have less days tan I expect. Do you know what is wrong on the sentence? do you have other way to do it?

 

Thank you


Viewing all articles
Browse latest Browse all 5403

Trending Articles



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