I was able to fix that, thanks for all your help.
I have another issue for the same report.
I need to take out average and then summarize it.
I can summarize it on running totals and one time by mistake the formula above did work and gave me correct result but since I refreshed it istarted giving me error.
my Formula for average is:
If {UpLoad_Report_EOM;1.PolicyCount} >0 then 0 else {UpLoad_Report_EOM;1.PolicyPremium} / {UpLoad_Report_EOM;1.PolicyCount} ;
error is : Division by zero
I tried multiple formula, but same error.
1. If {UpLoad_Report_EOM;1.PolicyCount} >=0 Then {UpLoad_Report_EOM;1.PolicyCount} *
({UpLoad_Report_EOM;1.PolicyPremium} / {UpLoad_Report_EOM;1.PolicyCount})
2. If {UpLoad_Report_EOM;1.PolicyCount} < 0 Then
0
Else
{UpLoad_Report_EOM;1.PolicyPremium} /{UpLoad_Report_EOM;1.PolicyCount}
AnY Idea.