Oct 28, 2011 #1 fcoley MIS Aug 3, 2011 2 US I have a parameter, @MaxDate.. I need to create a field off of that date to return: Prior month's enddata, for example. If I pass in 10/10/2011 as the @MaxDate, I want to return September 30 ,2010 or 9/30/2010? How can I accomplish this? Thanks a bunch!!
I have a parameter, @MaxDate.. I need to create a field off of that date to return: Prior month's enddata, for example. If I pass in 10/10/2011 as the @MaxDate, I want to return September 30 ,2010 or 9/30/2010? How can I accomplish this? Thanks a bunch!!
Nov 4, 2011 #2 MarkSweetland MIS Aug 30, 2000 1,177 US Untested, but could you use an expression like: Code: DATEADD(DAY, -(DAY(Parameters!MaxDate.Value)), Parameters!MaxDate.Value) and format the output? Mark "You guys pair up in groups of three, then line up in a circle." - Bill Peterson, a Florida State football coach Upvote 0 Downvote
Untested, but could you use an expression like: Code: DATEADD(DAY, -(DAY(Parameters!MaxDate.Value)), Parameters!MaxDate.Value) and format the output? Mark "You guys pair up in groups of three, then line up in a circle." - Bill Peterson, a Florida State football coach