Im a bit new to SQL reporting, but one of the items I am trying to generate is an expression within a matrix. One of the fields is not reported within the database, but is based on a calculation of two other fields. These two other fields could be blank, as the users might not have entered any information within them when reporting an audit. I am currently getting the following error when I run the report:
The Value expression for the textrun ‘Textbox17.Paragraphs[0].TextRuns[0]’ contains an error: [BC30455] Argument not specified for parameter 'FalsePart' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object'.
And here is the current expression in textbox 17:
=sum(IIf((Fields!ActualAdjustment.Value IsNothing) Or (Fields!ExpectedAdjustment.Value IsNothing), 0, ((-1)*((Fields!ActualAdjustment.Value)-(Fields!ExpectedAdjustment.Value)))))