you can use a CASE Statement. Is that a type or would it be 1 for both cases? Change your CASE accordingly. you can use the foll as a sample:
SELECT
GoalMet = CASE WHEN CompareMethod = 1 AND LocalPerf >= Target Then 1 WHEN LocalPerf <= Target THEN 1 ELSE 0 END
FROM
...
Dinakar Nethi
SQL Server MVP
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/