"Top" records and summing remaining records

Stimulsoft Reports.NET discussion
Post Reply
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

"Top" records and summing remaining records

Post by jmiller »

What is the best way, if it is at all possible to do the following using the designer?

I want to create a report that shows the last 3 open invoices. If there are more than 3 than I want a total of all of those.
Due Date Amount
====== ======
2011-05-01 100.00
2011-04-01 110.00
2011-03-01 120.00
2011-02-01 130.00
2011-01-01 140.00

I would like the report to look like:
Due Date Amount
====== ======
2011-05-01 100.00
2011-04-01 110.00
2011-03-01 120.00
(PRIOR) 270.00
-------------- ----------
TOTAL DUE 600.00
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

"Top" records and summing remaining records

Post by Alex K. »

Hello,

Please see the sample report in attachment.

Thank you.
Attachments
1164.SampleReport.mrt
(19.25 KiB) Downloaded 277 times
Post Reply