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

[BC30201] Expression expected.

$
0
0

Hi All,

I currently have a field that is calculated with the following code:

IIF(Sum(Fields!issued.Value)=0,0, Sum(IIF(IIF(ISNOTHING(Fields!hoursFromDToIssued.Value) = true,25,Fields!hoursFromDToIssued.Value) <= 24,1,0))) / IIF(Sum(Fields!issued.Value)=0,1,Sum(Fields!issued.Value))

Currently that works fine, and i have changed the formatting settings to 'Percentage' with a two point decimal mark.

However i would like the font to turn red if the value isn't above 90% (Target).

I put in the following code: 

=IIF(IIF(Sum(Fields!issued.Value)=0,0, Sum(IIF(IIF(ISNOTHING(Fields!hoursFromDToIssued.Value) = true,25,Fields!hoursFromDToIssued.Value) <= 24,1,0))) / IIF(Sum(Fields!issued.Value)=0,1,Sum(Fields!issued.Value)) < 90, "#e6eefc", "LightCoral")

But recieved the following error:  [BC30201] Expression expected.

Any suggestions? 

Kind Regards,

Plain_Clueless


Plain_Clueless



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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