Page 1 of 1
Conditional function works different on .NET
Posted: Thu Apr 11, 2019 7:52 am
by hugo
Hello,
Please see the attachments.
It's a condition on a field on a group footer.
It works perfectly on Flex but works opposite on .NET
Re: Conditional function works different on .NET
Posted: Thu Apr 11, 2019 9:29 pm
by Lech Kulikowski
Hello,
In Conditions, you should use Totals.Sum() functions instead Sum().
Thank you.
Re: Conditional function works different on .NET
Posted: Fri Apr 12, 2019 10:47 am
by hugo
Hello,
I already tried that before the initial post

Re: Conditional function works different on .NET
Posted: Sat Apr 13, 2019 12:19 pm
by Lech Kulikowski
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Re: Conditional function works different on .NET
Posted: Sat Apr 13, 2019 9:22 pm
by hugo
Hi found myself the solution:
This version works with Flex solution but not with .NET:
Sum(Accounting.Credit01-Accounting.Debit01) == 0
On the other hand, this version works with both solutions:
Sum(DataBand1, Accounting.Credit01-Accounting.Debit01) == 0
The only difference is that I tell the report engine where is the data band.
It works for me, so I'm happy.
Thanks.
Re: Conditional function works different on .NET
Posted: Sun Apr 14, 2019 4:40 am
by Andrew
Thank you, Hugo, for sharing your experience in solving the issue.