[英]How can I add an average bar to bar chart in SSRS
I have created a report with a bar chart which the boss was so happy with he asked me to add some things to it.我创建了一个带有条形图的报告,老板对它非常满意,他让我添加一些东西。 One thing I cant seem to figure out is he would like a bar at the end of the report with the average.我似乎无法弄清楚的一件事是,他希望在报告末尾有一个平均值。 I suggested adding a calculated series for the average which was promptly shot down.我建议为平均值添加一个经过计算的系列,该系列很快就被取消了。 Has anyone created an extra bar at the end of a chart?有没有人在图表的末尾创建了一个额外的条形图? if so how did you go about doing it?如果是这样,你是怎么做的?
I am including my query and A screenshot of my chart.我包括我的查询和我的图表的屏幕截图。
SELECT fcompany, fnnumber, Year, ShipQty, RMAQty, PercentReturned, DPPM
FROM CustomerCalculations
You could add another bar chart on top of the existing chart, off to the right-hand side, using AVG(Fields!DPPM.Value)
as the value.您可以使用AVG(Fields!DPPM.Value)
作为值,在现有图表的顶部添加另一个条形图到右侧。 This would allow you to make that bar a different color, to differentiate it from the period-grouped bars.这将允许您将该条形设为不同的颜色,以将其与按周期分组的条形区分开来。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.