Page 1 of 1

variables are being ignored in a filter

Posted: Wed Jul 06, 2011 4:11 pm
by erikbrandvig
i am attempting to filter a data band using a variable that is being passed. this was working previously.

here is my very simple report structure, you can see that the static integer "75" is working correctly for the filter.

Image

and produces these results.

Image

now i'm going to describe a variable inside the report builder and use that instead.

Image

i have tried the values "Variable1" and "{Variable1}".

Image

the filter is being ignored, as you can see...

Image

am i doing something wrong?

thanks for your help.

erik

variables are being ignored in a filter

Posted: Thu Jul 07, 2011 4:03 am
by Ivan
Hello,

Please set the "Field is" combobox to the "Expression" and use the following expression:

Code: Select all

DataSource.EmployeeID_Count >= Variable1
Thank you.