Get the 3months back date for given date

  • Hi friends,

    I am passing date value from current report to Subreport( drill through) and I have written an expression for date and My value is not passing through the main report to subreport.I dont get any error but the subreport shows blank as dat is not passing through.

    Can any one tell me the isuue?please.

    I am trying to get 1st of August month for any given day of November .I am trying to pass this date to sub report.

    = DATEADD("mm", DATEDIFF("mm", 0,@date)-3, 0)

    Here date ='11/23/2012' so I should get '8/1/2012' format

    Thanks,

    Komal

  • Does this work?

    = DATEADD("mm", DATEDIFF("mm", 0,Parameters!date.Value)-3, 0)

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

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