0

I have this group in a table. Where I need to display one value on the top and rest according to its alphabetical order.

Table

     Column1      Value#1  Value#2

     Alpha         12      26
     Beta          65     745
     Gamma        987      87
     Pie            7       2
     Non-Beta     132     426
     Zeta         112     266

How can I display it in the below format...

Table

    Column1      Value#1  Value#2

     Non-Beta     132     426
     Alpha         12      26
     Pie            7       2
     Zeta         112     266
      Total       263     720

     Beta          65     745
     Gamma        987      87
      Total       1057    832

I could display Non-Beta on the top by using the below expression in the sorting tab in the group Property.::

=IIF(Fields!Column1.Value = "Non-Beta", "A" + Fields!Column1.Value, "B" + Fields!Column1.Value)

But how do I Display it according to the above format. Values Come from one column (Column1)

EDIT

This is the output I got after the operation that Ian specified...

enter image description here

Thank you

4

1 回答 1

0

您可以根据如下表达式设置组:

=IIf(Fields!Column1.Value = "Beta" or Fields!Column1.Value = "Gamma"
  , "Group2"
  , "Group1")

即如果BetaGamma,则包括在一组中;其他所有内容都组合在一起。

在此处输入图像描述

在组中包括一个页眉和一个页脚行。

根据需要将排序表达式应用于 Tablix。

该报告在设计器中将如下所示:

在此处输入图像描述

最终结果看起来像您的要求:

在此处输入图像描述

于 2013-06-21T16:08:12.513 回答