5

Below figure is my report. This tablix has 10 row from dataset.

It's grouped by TOOL_CODE and TYPE for get count. At "Count" Column is use this expression ..

   = Count("Detials")  

"Detials" is a name of group(by TOOL and TYPE)

And No.Column I use expression by Rownumber() function like these

   = Rownumber(Nothing)

It's wrong because Rownumber() refer to items in dataset. It's not count from row which is display.

enter image description here

Fame th
  • 1,018
  • 3
  • 17
  • 37
  • interesting! I guess you could add custom function to increment for each actual report row. – InitK Sep 02 '15 at 16:11

3 Answers3

7

I solved this problem.

At "No." Column use this expression

  =RunningValue(CountDistinct("TableName"),Count,"TableName")
Fame th
  • 1,018
  • 3
  • 17
  • 37
7

This works:

=RowNumber(Nothing)

I like it also for the fact that it will number grouped sets of data independently, so you know the total in each group.

Hannington Mambo
  • 998
  • 2
  • 13
  • 28
0

You can just add an expression at the detail level of =RowNumber("[tablename]")

Floern
  • 33,559
  • 24
  • 104
  • 119