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
Conditional function works different on .NET
Conditional function works different on .NET
- Attachments
-
- Screenshot 2019-04-11 at 08.53.39.png (77.09 KiB) Viewed 1801 times
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Conditional function works different on .NET
Hello,
In Conditions, you should use Totals.Sum() functions instead Sum().
Thank you.
In Conditions, you should use Totals.Sum() functions instead Sum().
Thank you.
Re: Conditional function works different on .NET
Hello,
I already tried that before the initial post
I already tried that before the initial post
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Conditional function works different on .NET
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Re: Conditional function works different on .NET
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.
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
Thank you, Hugo, for sharing your experience in solving the issue.