Need scope for RowNumber( ) function

HI ...

I have a detailed report ..with summary lines and detailed lines (drill down).

I have a column with a function "RowNumber(Nothing)" which is supposed to just count the rows

when I put this in the summary row for the column I need in the Design Layout section and run the report, I get numbers on the summary lines which include the number of rows in the level below (detailed rows).

I just want to number the summary rows sequentially without taking into consideration, the number of detailed rows.

How do I modify RowNumber(Nothing) to exclude counting the detailed rows....?

Any help will be much appreciated...thanks

[688 byte] By [AceWinder] at [2008-1-7]
# 1

To the folks who might face this problem

I found the solution myself .....here it goes...just use this in the row you want to rumber (summary or detailed)

=RunningValue(Fields!FieldNumber1.Value,CountDistinct,Nothing)

AceWinder at 2007-10-2 > top of Msdn Tech,SQL Server,SQL Server Reporting Services...
# 2

This was exactly what I was looking for thank you very much, you have been a great help
phrfaf at 2007-10-2 > top of Msdn Tech,SQL Server,SQL Server Reporting Services...
# 3

Excellent!! Thank you, I have looked every where for this......
MarkW.Butler at 2007-10-2 > top of Msdn Tech,SQL Server,SQL Server Reporting Services...

SQL Server

Site Classified