• RamSteve (2/11/2014)


    Hi I have a Dataset In SSRS Report and I added Filters with my condiation as = @Variable .

    I am getting the results as expected for my condition . If my variable is NULL i need to retrive all my rows with out filter

    You could do something like:

    WHERE condition = COALESCE(@Variable, condition)

    That way, if the variable is Null, in essence you're saying 1 = 1, which is always true.

    HTH,

    Rob