Thanks so much, worked like a charm.
"Stefan Hoffmann" wrote:
[Quoted Text] > The SQL Server has not Iif, thus the error message. Use the CASE > statement instead: > > SUM(CASE WHEN > [ActualCostRevised]=0 > THEN > [CostReduction] > ELSE > [CostReductionRevised] > END) AS CR > > mfG > --> stefan <-- >
|