sql server - Bit conversion not working in SSRS report -
i'm working on ssrs
report. have dataset
returns below values.
now wanted change color of data
field on bases of bit
.
i tried below, no success. shows false
in report.
=iif(cbool(fields!isauthorized.value)=true,"blue","black") =iif(cint(fields!isauthorized.value)=1,"blue","black") =iif(fields!isauthorized.value=1,"blue","black")
below image show isauthorized.value
on data field.
please me!
have here..
http://www.sqlservercentral.com/forums/topic1459800-1063-1.aspx
for example:
=iif( fields!isstate.value <> 0 , fields!regionid.value <>"12","yes","no")
so yours should like:
=iif( fields!isauthorized.value <> 0 ,black,blue)
this should cover it.
Comments
Post a Comment