There are two issues, I am seeing.
You don't need to compare isNothing output to false.
SSRS gives
#Error
because of data type mismatch.
Make sure Sales_Overall
and Current value
doesn't have commas or anything that makes them text
instead of a number
.
Try this first
=IIf(IsNothing(Fields!sales_overall.Value) Or ISNothing(Fields!current.Value),
"-" ,
Fields!sales_overall.Value/Fields!current.Value)
If this doesn't work, do the explicit conversion
=IIf(IsNothing(Fields!sales_overall.Value) Or ISNothing(Fields!current.Value) ,
"-" ,
CDBL(Fields!sales_overall.Value)/CDBL(Fields!current.Value))
OR
=IIf(IsNothing(Fields!sales_overall.Value) Or ISNothing(Fields!current.Value),
"-" ,
CDEC(Fields!sales_overall.Value)/CDEC(Fields!current.Value))