Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Indicators for Yes, No, or blank Expand / Collapse
Author
Message
Posted Thursday, April 24, 2014 8:36 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, July 28, 2014 10:54 AM
Points: 26, Visits: 57
I am writing an SSRS 2008 report. I am trying to use the checkmark, X, and exclamation indicators for a column using "Yes," "No" or blank. I cannot get it to work. For the value expression I have
=iif(First(Fields!Finished.Value, 1)=True,1,0)
States of Measurement Unit, I have it set to Numeric. For the checkmark I have it at start:1, end:1. For the X I have it at start:0, end 0. For the exclamation I have it at start:"", end:""
I know its wrong somewhere but I just not sure where. If anyone can point me in the right direction.
Thanks!
Post #1564674
Posted Thursday, April 24, 2014 9:20 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:45 AM
Points: 7,102, Visits: 6,933
Assuming Finished is a bit column then use this expression
Switch(IsNothing(Fields!Finished.Value),2,Fields!Finished.Value,1,True,0)



Far away is close at hand in the images of elsewhere.

Anon.

Post #1564697
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse