【发布时间】:2015-03-31 17:05:26
【问题描述】:
-在 Sql 中,我的数据集显示如下:
MonthName, Type, MonthNumber, YearNumber, Deals
Feb used 2 2015 40
Feb New 2 2015 30
Mar Used 3 2015 50
Mar New 3 2015 20
-在我的堆积柱形图中:
值:总和(交易)
类别组:月份名称
SeriesGroup:类型
抱歉,我无法上传图片。所以,我将解释图表。
- 在堆积柱形图中,我要栏显示%:
the bar of Feb: 40/(40+30)=57%
Feb: 30/(40+30)=43%
the bar of Mar: 50/(50+20)=71%
Mar: 20/(50+20)=29%
我在标签日期中做了表达式
=sum(Fields!Deals.Value)/Sum(Fields!Delas.Value, "DataSet1") 但结果是
the bar of Feb: 40/(40+30+50+20)=28%
Feb: 30/(40+30+50+20)=21%
the bar of Mar: 50/(40+30+50+20)=35%
Mar: 20/(40+30+50+20)=14%
谁能帮我获得 57%,43%,71%,29% 谢谢。
【问题讨论】:
标签: reporting-services charts percentage