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

Nested IIF

$
0
0

Can anyone tell me why this will not work?

=IIF(
 Fields!FGI.Value = 0 AND Fields!Stat.Value = "O",
 "Black","White")OR
IIF(
 Fields!FGI.Value = 0 AND Fields!Stat.Value = "P",
 "Red","Yellow"
 )

One will work fine by itself but when I throw the OR in I receive an error:

Warning 1 [rsRuntimeErrorInExpression] The Color expression for the textrun ‘FGI1.Paragraphs[0].TextRuns[0]’ contains an error: Input string was not in a correct format.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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