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
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, May 22, 2014 1:11 PM
Points: 23, Visits: 51
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: Yesterday @ 10:05 AM
Points: 7,045, Visits: 6,784
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