SSRS SCENARIO

  • Hi,

    If i pass the current year in prompt then my report should be display the Current year sale summary and previous year sale summary..

    Example:

    If i pass the year 2011 in prompt it has to display the 2011 sale summary & 2010 sale summary...

    can any one help on this...

  • Sounds pretty simple to me.

    Just add in the Where clause of your dataset the following:

    SELECT *

    FROM someTable

    WHERE year = @parametervalue OR year =(@parametervalue -1)

    [font="Verdana"]Markus Bohse[/font]

  • hi,

    Thanks for the reply....

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

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