how to display month and year in header of report

  • Hello,

    I have a parameter called start date (@startdate) and I f I give the date as '10/1/2013'

    when I click on preview report I have to get as "For Oct 2013" on the header

    how to write the expression for this.

    I have taken a text box and I written as = "For" +

    Any help please...

  • something like this should work

    = "For " & MonthName(Month(Today())) & " " & YEAR(Today())

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • This might be what you're after:

    ="For " + Format(Parameters!startdate.Value, "MMMyyyy"

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

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