饼图中多种颜色选择的 switch 语句
使用 SSRS BIDS 2008 在我的一份报告中创建饼图。
我需要在“表达式”框中输入语句的语法是什么,以指定我希望饼图的每个特定字段采用哪种颜色。
我需要指定不同颜色的值是“value2”,它们总共有 4 个可能的值。
谢谢。
Using SSRS BIDS 2008 to create a Pie Chart in one of my reports.
What is the syntax of the statement I need to type into the Expression box to specify which colours I would like each particular field of the pie chart to be.
The value i need to specify different colours for is 'value2' and their are a total of 4 possible values.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您完全确定 if 语句谓词是正确的吗?
在我看来“1.Proposal”可能是一个系列标签?
Are you ENTIRELY SURE that the if statement predicate is correct?
It looks to me like "1.Proposal" is possibly a series label?
昨天回答了这个问题!有关 Switch 语法,请参阅使用 Switch 的报告服务表达式。确保给它偶数个参数。
按照示例代码进行编辑 - 它应该是
Switch
而不是SWITCH
。请在此处查看文档。Answered a question on this yesterday! See Reporting services expression using Switch for the Switch syntax. Make sure you give it an even number of arguments.
Edit following your sample code - it should be
Switch
rather thanSWITCH
. Check the documentation here.