I created 4 reports all of them worked i have an expression in all to count rows:
=IIF(Fields!Logged30Days.Value = "yes", Count(Fields!Logged30Days.Value),0) But today i see on all this is returning 0 when there are rows in the report it suddenly stops working how to fix this and why is it happening?
UPDATE Now i see the expression are not working on any report, even on the earlier backup versions where they worked!
And if i do this it works but for all the rows just to show expression works ! but its not working as it did before above.How do i change this below to get desired result.
=IIF(Fields!Logged30Days.Value = "yes", count(Fields!Logged30Days.Value),count(Fields!Logged30Days.Value))
Logged30Days. What you're effectively doing above is checking the first value ofLogged30Daysin whatever Scope the expression is... If that is not yes, even if there are yes values elsewhere in the Scope's data, you'll get 0 in the expression.