SSRS:图表:将值累积到新字段中

时间:2013-09-19 08:57:51

标签: reporting-services report reporting diagram geometry

您好,我目前正在使用此Diagramm显示我公司客户的发票金额百分比。 (下面的图片筛选出低于4%的值)

现在因为我有很多客户不到4%,我希望有可能将它们全部累积到一个名为“其他”的集体公司 我正在使用SQL Server Reporting Services 2012。

有人知道这是怎么做到的吗? 非常感谢大家。Diagramm

1 个答案:

答案 0 :(得分:1)

您可以在Collect Small Slices on a Pie Chart找到相关的详细信息。

假设我们有一个简单的DataSet和一个基于此的简单图表:

enter image description here

enter image description here

现在,在Designer中,转到图表图表系列 - > CustomAttributes 并更新:

  • CollectedStyle
  • CollectedThreshold
  • CollectedLegendText

enter image description here

现在所有的小切片都组合在一起:

enter image description here

显然,您可能需要稍微调整一下您的图表/数据,但这应该会给您一个良好的开端。