how to get sum of last row in datasource
Posted: Mon Apr 25, 2022 10:58 am
I have the datasource that has these values:
PackageCategory Awarded To Let
Consultants 2 1
Contractors 3 0
Suppliers 2 0
Total 7 1
(image attached)
Now, how can I get the sum of values of last row in Stimulsoft? (Total)
7 + 1
lhat would be 8
I want to put in a variable, say, vTotalPackages type Decimal
How do I do it?
Great Thanks!
PackageCategory Awarded To Let
Consultants 2 1
Contractors 3 0
Suppliers 2 0
Total 7 1
(image attached)
Now, how can I get the sum of values of last row in Stimulsoft? (Total)
7 + 1
lhat would be 8
I want to put in a variable, say, vTotalPackages type Decimal
How do I do it?
Great Thanks!