Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

adding another if statement after a bunch of nested iif's

$
0
0

Hi everyone, 

Got a little issue thats causing me some headache. I have basically got a bunch of nested IIF statements, 6 in total which are working perfectly and basically contruct a sentence with information from the database depending on what is selected. so for example is this entity is selected display this and so forth. This works perfectly. what  I would then like to add is another IIF statement to the end that returns another value but keep getting an #Error.  So at present it looks like this, the bit in bold that i am interested in see if it can be done.

Thanks

IF (field = "entity", " TEXT" , IIF(........... "", IIF(............. "","")))AND IIF(......  


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>