Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

#Error when no data returned by Query+SSRS

$
0
0

Hi all,

 am trying to display Calculated field in Textbox expression

=IIF(CountRows()>0,

"There are a total of "+Sum(IIF(IsNothing(Fields!abc_Age.Value),0,IIF(Fields!abc_Age.Value > 60,1,0))),nothing)

when my query returns data, above statement works fine. but when there is no data available it shows #Error rather than showing nothing. not able to find whether I am getting wrong. Please reply. thanks! 


Pooja


Viewing all articles
Browse latest Browse all 10045

Trending Articles