Divide 2 numbers in a databand

Stimulsoft Ultimate discussion
Post Reply
evil
Posts: 1
Joined: Tue Aug 01, 2017 2:48 am

Divide 2 numbers in a databand

Post by evil »

I have a DataBand that contains 2 rows. How can I divide 1 row by another?
Is it possible to reference a particular cell and divide by another cell?
for example I'd like to divide -16,856,817 and 16,825,000 and get a ratio of -0.99811514

Ideally whats highlighted in yellow, I'd like to add in the FooterBand.
Snap 2017-08-01 at 13.12.12.png
Snap 2017-08-01 at 13.12.12.png (19.66 KiB) Viewed 1418 times
Snap 2017-08-01 at 13.28.48.png
Snap 2017-08-01 at 13.28.48.png (32.88 KiB) Viewed 1418 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Divide 2 numbers in a databand

Post by HighAley »

Hello.

You could use the summary tab to calculate the sum.
Or you could use the Before print event to get necessary value to make necessary calculations.
Please, add a variable for this.
Could you specify which our component do you use and we will give you more detailed answer.

Thank you.
Post Reply