如果值大于15分钟,我试图在SSRS报告中突出显示结果行。
我尝试了下面一行的不同变体,但仍然没有识别超过15分钟的任何内容。
提前致谢!
以下是我尝试的一些不同的事情:
=IIF((Fields!ACTUAL_DEPARTURE.Value-Fields!PLANNED_DEPARTURE.Value)> "00:15:00", "Yellow", "Transparent")
=IIF((Fields!ACTUAL_DEPARTURE.Value-Fields!PLANNED_DEPARTURE.Value)> 15, "Yellow", "Transparent")
=IIF((Fields!ACTUAL_DEPARTURE.Value-Fields!PLANNED_DEPARTURE.Value)> "15:00", "Yellow", "Transparent")
答案 0 :(得分:1)
应该是
= Iif(DateDiff(DateInterval.Minute, Fields!ACTUAL_DEPARTURE.Value, Fields!PLANNED_DEPARTURE.Value) > 15 , "Yellow", "Transparent")