Roxanne25
asked on
Dynamic Font Color Problem ~ Business Intelligence Studio
Hi, I'm trying to add a dynamic font color to a percent field. If the percent is less than 10% I'd like the font color to be red and if its over 10, black.
I put the following expression in the font color property:
=iif(Sum(Fields!dailymargi npct.Value , "ABookedDailyMarginPct") < 10,"Red","Black")
*I tried doing the value at 10 and .10 since its a decimal value before its formatted.
However, when I try to preview the report I get the following error:
[rsInvalidBooleanConstant] The Hidden expression for the textbox ‘dailymarginpct’ has the value “”, which is not a valid Boolean value.
Anybody help me with this?
I put the following expression in the font color property:
=iif(Sum(Fields!dailymargi
*I tried doing the value at 10 and .10 since its a decimal value before its formatted.
However, when I try to preview the report I get the following error:
[rsInvalidBooleanConstant]
Anybody help me with this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER