?
Solved

In MS Reporting Services, how do I use the CountRows function in a table cell with a drill down table?

Posted on 2006-11-16
2
Medium Priority
?
1,989 Views
Last Modified: 2012-05-05
When I put in anything at all in CountRows(blah) to try to count the number of rows in a table I get this error...

The Value expression for the textbox ‘textbox29’ 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.
0
Comment
Question by:M3hcSS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Hillwaaa earned 1000 total points
ID: 17962262
Hi,

If you are using RS2005 you should be ok if you put the following as the expression in your textbox:

=CountRows("DataSetNameHere")

Cheers,
Hillwaaa
0
 
LVL 2

Author Comment

by:M3hcSS
ID: 17965169
=CountRows("DataSetNameHere") placed anywhere on the detail line of a drill-down table gives the total number of rows in the DataSetNameHere.


=CountRows("DataSetNameHere", Recursive) placed anywhere on the grouping line gives the number of rows BELOW it--very interesting and useful.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question