Max Date - 1 day

  • Using SSRS I'm trying to use the max date minus 1 day in the title ....Max(Fields!DateName.Value, "DataSet1")

    BTW: I've tried DateAdd(DD, -1, Max(Fields!DateName.Value, "DataSet1")

    Thanks

    Joe

  • Turns out I did that same thing when I first tried it... You have to wrap the units in double quotes, because this is .NET, not SQL (so the rules are slightly different):

    =DateAdd("d",-1,MAX(Fields!TransDate.Value, "BankBalance"))

  • Thanks worked great !!

  • Good to hear!

    You're welcome =)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply