Your
WebSoldPriceForFmvRatio
is not in the same dataset as your table/Matrix's dataset.If you need to access it from a different dataset you would need to either use aggrgate function or Lookup function or redesign datasets.
Also remember Field Names are case sensitive. It must match the field name under the dataset.
WebSoldPriceForFmvRatio
is different fromWebSoldPriceForFmvRatiO
orWEBSoldPriceForFMVRatio
Using Iff and Sum SSRS
-
11-07-2023 - |
Question
I'm struggling with my expression I'm trying to remove any values of the WebSoldPriceForFmvRatio
and LastFMV
that would have the isPriorMonthAppraised
value of zero. I've attempted several attempts at using a combination of iif and sum statements but they all return with errors. Am I using the IFF statement correctly or do I need to use another conditional?
Code:
=Code.Divide(SUM(
IIF(
Fields!isPriorMonthAppraised.Value=0
,Fields!WebSoldPriceForFmvRatio.Value,0))
, SUM(
IIF(Fields!isPriorMonthAppraised.Value=0
,Fields!LastFMV.Value,0)))
La solution
Autres conseils
I believe the correct spelling is "IIF", not "IFF", so maybe start there.
Additionally, are you expecting 0 (as in a numeric 0), or do you need to test for NULL values? If you need to test for NULL, use the IsNothing() function.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow