Advertisement

03.13.2008 at 11:20AM PDT, ID: 23239569
[x]
Attachment Details

Filters in Reporting Services -- what data type is returned?

Asked by fesnyng in MS SQL Server, SQL Server 2005

Tags: Microsoft, Reporting Services, 2005, Micro

I am attampting to add a Filter to a Group.  The following applies to the Grouping and Sorting Properties,dialog box, Filter tab.

My expectation is that a Filter would return a Boolean, but Reporting Services reports otherwise.  For ANY and ALL filters entered -- including selecting the defaults -- the following error meesage is returned:

"The processing of FilterExpression the table 'table1' cannot be performed. Cannot compare datatypes of System.Boolean and System.String.  Please check the datatype returned by the FilterExpression."

Again, selecting default values from each column in the FilterExpress returns this error as well as any other entry.  The message indicates that the FilterExpression is not returning True or False but instead a string of some sort.  I do not see how I control the datatype for a FilterExpression.   My expectation is that it would always be boolean.

This seems like it would be a simple task, but I just am missing it.

Start Free Trial
[+][-]03.13.2008 at 11:59AM PDT, ID: 21119549

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, SQL Server 2005
Tags: Microsoft, Reporting Services, 2005, Micro
Sign Up Now!
Solution Provided By: ptjcb
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.13.2008 at 12:30PM PDT, ID: 21119931

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 12:57PM PDT, ID: 21120205

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.13.2008 at 01:18PM PDT, ID: 21120418

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628