I'm hoping you can help me.
I have the following expression:
[Inflation Adjusted Total] = POWER(dbo.v_ProjectTotalCosts.[Total Job Incl IDC]*
CONVERT(DECIMAL(10,5),[contingency])/100+1*CONVERT(DECIMAL(10,5),[Inflation Rate])/100+1,
Case when (CONVERT(DECIMAL(10,5),[In Service Year]) -
CONVERT(DECIMAL(10,5),[Estimate Base Year]))= 0
then 0 ELSE (CONVERT(DECIMAL(10,5),[In Service Year]) - CONVERT(DECIMAL(10,5),[Estimate Base Year]))END),
Total Job Incl Idc(decimal(12,6) = 546789.102568
Contingency(Real) = 10.0
Inflation Rate(Real) = 3.0
In service yr(int) = 2001
Estimate Base Year(int) = 2001
I have tried to modify this expression every which way but I still get the error message:
Arithmetic overflow error converting expression to data type float.
Warning: Null value is eliminated by an aggregate or other SET operation.
Do you have any idea what I'm doing wrong?
I have the following expression:
[Inflation Adjusted Total] = POWER(dbo.v_ProjectTotalCosts.[Total Job Incl IDC]*
CONVERT(DECIMAL(10,5),[contingency])/100+1*CONVERT(DECIMAL(10,5),[Inflation Rate])/100+1,
Case when (CONVERT(DECIMAL(10,5),[In Service Year]) -
CONVERT(DECIMAL(10,5),[Estimate Base Year]))= 0
then 0 ELSE (CONVERT(DECIMAL(10,5),[In Service Year]) - CONVERT(DECIMAL(10,5),[Estimate Base Year]))END),
Total Job Incl Idc(decimal(12,6) = 546789.102568
Contingency(Real) = 10.0
Inflation Rate(Real) = 3.0
In service yr(int) = 2001
Estimate Base Year(int) = 2001
I have tried to modify this expression every which way but I still get the error message:
Arithmetic overflow error converting expression to data type float.
Warning: Null value is eliminated by an aggregate or other SET operation.
Do you have any idea what I'm doing wrong?