質問

I have report as table component. I want to apply the following logic:

If value INCID is not null, the border should be "Solid" (meaning it should have border),
If value INCID is null, the border should be "None" (meaning the table should have no border).

I used =IIf(IsNothing(Fields!INCID.Value) = 1,"Solid","None") but it doesn't work. Where could be the problem? If I apply this and save this settings and then go back to the expression, it is not saved.

役に立ちましたか?

解決 3

OK, this seemed to be the problem.

他のヒント

3 Years late, but my answer was different and maybe will help someone else one day.

I was able to make the expression work by entering it into the BorderStyle Properties.

Click on a given cell > Open Properties > Expand BorderStyle > Choose desired Side of Cell > Enter iif expression.

For example the following worked for me:

=iif(MAX(Fields!DistinctDevicecount.Value) > 1, "Solid", "None")
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top