Question

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.

Was it helpful?

Solution 3

OK, this seemed to be the problem.

OTHER TIPS

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")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top