Sql SSRS 2008:确定图表中条形宽度的表达式?
我有一个查询,它返回如下数据集:Sql SSRS 2008:确定图表中条形宽度的表达式?,sql,sql-server-2008,reporting-services,charts,ssrs-2008,Sql,Sql Server 2008,Reporting Services,Charts,Ssrs 2008,我有一个查询,它返回如下数据集: WaitTimeGroup WaitTimeGroupID WaitTimeGroupNotify Count upto 1h 1 0 0 upto 2h 2 0 5 upto 3h 3 0
WaitTimeGroup WaitTimeGroupID WaitTimeGroupNotify Count
upto 1h 1 0 0
upto 2h 2 0 5
upto 3h 3 0 15
upto 3h30m 4 1 3
upto 3h45m 5 2 2
upto 4h 6 3 1
upto 6h 7 0 9
upto 12h 8 0 0
over 12h 9 0 0
然后使用SSRS 2008显示以下图表:
我希望能够做的是使非灰色条变宽,特别是亮红色条。颜色由WaitTimeGroupNotify值确定
我尝试在PixelPointWidth CustomAttribute属性中设置一个表达式,尽管它显示了所有宽度相同的条
使用SSRS 2008或通过修改我的数据集可以实现这一点吗?尝试使用表达式动态设置宽度(CustomAttributes->PointWidth
),类似于以下内容:
= IIF(CInt(Fields!WaitTimeGroupNotify.Value)=3,.2,1.98)
。。。您需要进行实验以达到所需的PointWidth值