问题
want to write an expression in an SSRS 2008 textbox to check if any of the value in a field in a group is false. If false stop and change the background color of the Textbox.
i am trying to do
=iif(field!coloumnname.value="False","Red","silver")
The above expression is taking the top most value in the group and giving the output.
I mean if the value is True , it is giving silver background. Can anyone help me out
回答1:
Just use the min function in the group level background property:
=iif(min(Fields!Value.Value, "GroupName") = "False", "Red", "Silver")
This should give you the functionality required.
来源:https://stackoverflow.com/questions/12591696/write-an-expression-to-check-if-the-any-of-the-value-in-the-group-is-false