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

SSRS expression returns #error value in some cells

$
0
0

Hello,

What do you think below expression sometimes return #error value in ssrs.

=SUM(Fields!X.Value / 100 * DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value))  / 
IIF( SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) = 0
	 ,nothing
	 ,SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) 
    )	 


Viewing all articles
Browse latest Browse all 10045

Trending Articles