Quantcast
Viewing all articles
Browse latest Browse all 10045

expression help

Hello,

I have a SSRS report that has a data set query with @BegDate and @EndDate.  I'm setting the values like the following:

DECLARE @BegDate Date =  EOMONTH(Dateadd(Year,Datediff(Year,0,getdate())-2,0),11)
DECLARE @EndDate Date =  EOMONTH(Dateadd(Year,Datediff(Year,0,getdate())-1,0),11)

I'm having issue using the following expression.  I believe it's because I'm setting the variables in my query.

=

"BEG AUM "& MID(Parameters!BegDate.Value,5,2)&"/"&RIGHT(Parameters!BegDate.Value,2)&"/"&LEFT(Parameters!BegDate.Value,4)

Is there any way to retrieve the parameter value from the dataset query?

thanks,

 

"BEG AUM "& MID(Parameters!BegDate.Value,5,2)&"/"&RIGHT(Parameters!BegDate.Value,2)&"/"&LEFT(Parameters!BegDate.Value,4)


x


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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