简体   繁体   English

SSRS报告中组内组的行号

[英]Row number of a group within a group in an SSRS report

I am trying to assign a row number to a group, which is under another group in an SSRS 2008 report. 我正在尝试为SSRS 2008报告中另一个组下的组分配行号。 This is how my report looks: 这是我的报告的样子:

Salesman1 - Customer Group1 - Row number 1 业务员1-客户组1-行号1

         Customer Group2 - Row number 2

         Customer Group3 - Row number 3
         ---------------
         ---------------

Salesman2 - Customer Group1 - Row number 1 业务员2-客户组1-行号1

       - Customer Group2 - Row number 2

       - Customer Group3 - Row number 3

As you can see above, the outer group is the Salesman Group and the inner group is the Customer Group. 如上所示,外部组是业务员组,内部组是客户组。 I want to assign a serial number/row number to the Customer Group. 我想为客户组分配一个序列号/行号。

I have tried a lot of runningvalue functions and rownumber functions but nothing seems to work. 我已经尝试了很多runningvalue函数和rownumber函数,但似乎没有任何效果。 Any help would be really appreciated. 任何帮助将非常感激。

Thanks 谢谢

选择...,ROW_NUMBER()超过(PARTITION BY yourGroupID)....,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM