答案 0 :(得分:2)
最初在表格中添加一列,用于存储行号的计算并将其隐藏
您可以为每个组使用带有DistinctCount的RunningValue以获取组号。
表达式如下(标题,组,类别,标题)
= RunningValue(Fields!heading.Value, CountDistinct, "DataSet1")
= RunningValue(Fields!groups.Value, CountDistinct, "table1_Group1")
= RunningValue(Fields!category.Value, CountDistinct, "table1_Group2")
= RunningValue(Fields!title.Value, CountDistinct, "table1_Group3")
您的数字列表达式如下所示(textbox1包含标题的行号,textbox16用于组,...)
= ReportItems!textbox1.value
= Reportitems!textbox1.Value & "." & Reportitems!textbox16.Value
= Reportitems!textbox1.Value & "." & Reportitems!textbox16.Value & "." & Reportitems!textbox22.Value
= Reportitems!textbox1.Value & "." & Reportitems!textbox16.Value & "." & Reportitems!textbox22.Value & "." & Reportitems!textbox4.Value
答案 1 :(得分:0)
您可以在每个组标题中插入CONTENT
。希望它有所帮助。
参考:如何添加每个组标题 - http://www.sqlcircuit.com/2013/08/ssrs-how-to-implement-alternate.html