Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

expression help

$
0
0

Hello,

Can anyone help me convert the following lines to SSRS expressions?  I'm trying to return the dates in my ssrs report so users can see the data ranges they are returning data for.  My data set queries are using the these to set the date parameters.  Some of the functions don't seem to work in SSRS.

EOMONTH(Dateadd(Quarter,Datediff(Quarter,0,getdate())-2,0),2) --Beg of last Quarter  

EOMONTH(Dateadd(Quarter,Datediff(Quarter,0,getdate())-1,0),2) --end of last Quarter


EOMONTH(Dateadd(Year,Datediff(Year,0,getdate())-1,0),11) --beg this year

EOMONTH(Dateadd(Year,Datediff(Year,0,getdate())-2,0),11) -- beg of last year

EOMONTH(Dateadd(Year,Datediff(Year,0,getdate())-1,0),11) -- end of last year


x


Viewing all articles
Browse latest Browse all 10045

Latest Images

Trending Articles



Latest Images

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