문제

I can populate my own Order column in the DataSource and pass this DataSource to Tablix. But if there is a way to automatically an Order column right in Tablix at design time (such as using some variable or expression), it would be better. Here is what I want:

Order      |      Column 1    |    Column 2  
  1
  2
  3
 ...

The Order column can be added at design time easily, but how to populate it with ordinal numbers when refreshing report (of course, I don't want to populate it from data source). I want some way to populate it via expression or something like that right in Local Report designer.

Your help would be highly appreciated!

Thank you very much in advance!

도움이 되었습니까?

해결책

Yes, Put expression =RowNumber(nothing) in Order column.

and if you want to show row number differently for group try =RowNumber("GroupName1")

다른 팁

=RowNumber("Group1")

it's not working with me for group numbers what i can do

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top