Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Reporting Srvcs - Help with an Expression

Status
Not open for further replies.

JBourne77

IS-IT--Management
Jan 21, 2008
153
US
Question: In Crystal Reports, I had a Formula '@Birth Weight < 1500'

'@Birth Weight < 1500' was set up as follows:

Code:
IF {@Deliveries} = 1  and {aaUDS7;1.BirthWeight} > 0 
and {aaUDS7;1.BirthWeight} < 1501 then 1 else 0

The @Deliveries is set up as follows:

Code:
IF {aaUDS7;1.DeliveryType} <> 'No Entry' then 1 else 0

I would like to build this with the same logic in SSRS. Any insight and help is deeply appreciated!
 
Code:
=Iif(Fields!Deliveries.Value = 1 AND Fields!BirthWeight.Value > 0 AND Fields!BirthWeight.Value < 1501, 1, 0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top