SSRS,比较两行并突出显示它是否为零

时间:2016-08-10 09:27:40

标签: reporting-services

TOTALBILLAMOUNT TAXAMOUNT   DEPOSITE CASH
80000              0          0
90001              0          9825
100000             0          15000
110000             0          24113
120004            1000        133565

如果存款大于5000,则taxamount不应等于零。如果它为零则需要更改颜色。

1 个答案:

答案 0 :(得分:1)

转到所需的单元格属性 - >背景颜色 - >表达式:

=IIf((Fields!DEPOSITECASH.Value > 5000) AND (Fields!TAXAMOUNT.Value = 0),"Red","Transparent")