Link to home
Start Free TrialLog in
Avatar of fusionfx2000
fusionfx2000

asked on

Sql Server Reporting Services Expression HELP Please!!!!! Count(not working)

I'm using Sql server reporting services and trying to get an expression to work, but it isn't; this is what I want it to do, but not working:

=count(Fields!ISSUE_NAME.Value)where( Fields!ISSUE_PRIORITY.Value='(1) High')

maybe the where is wrong?????
Avatar of ExpertAdmin
ExpertAdmin

Try this:

=count(*)where( Fields!ISSUE_PRIORITY.Value='(1) High')

M@
Avatar of fusionfx2000

ASKER

It told me count is no longer supported and to use countrows;  when i used

=countrows(*)where( Fields!ISSUE_PRIORITY.Value='(1) High'), I'm getting the following error:

The value expression for the textbox ‘ISSUE_NAME_2’ has a scope parameter that is not valid for an aggregate function.  The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a data set.

I have 2 list boxes like this:

lst_projects (which contains group by projectname)
    lst_issues (which contains group by issuename)
                                                                    count is located here within lst_projects
ASKER CERTIFIED SOLUTION
Avatar of ExpertAdmin
ExpertAdmin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial