条件为假RDLC时如何条件行隐藏

时间:2018-05-05 12:45:15

标签: rdlc ssrs-tablix

如果条件是fale如何隐藏行请检查下面的图像,请帮助我

=IIf(Fields!OrderTypeId.Value = "1", Fields!Orders.Value,0)
=IIf(Fields!OrderTypeId.Value = "2", Fields!Orders.Value,0)
=IIf(Fields!OrderTypeId.Value = "3", Fields!Orders.Value,0)

I want Like This

But when condition is false its show 0

1 个答案:

答案 0 :(得分:0)

这可能会有所帮助:

=((Fields!OrderTypeId.Value = "3" Or Fields!OrderTypeId.Value = "2" Or 
   Fields!OrderTypeId.Value = "1") 
 And (Fields!Orders.Value = 0)) 

由于