I have a report where I need to filter out records where there is a duplicate contract number within the same station but a different date. It is not considered a duplicate value becuase of the different date. I then need to summarize the costs and count the contracts but even if i suppress the “duplicate fields” it will summarize the value. I want to select the record with the most current date.
Station Trans-DT Cost Contract-No
8 5/11/2010 10 5008
8 5/12/2010 15 5008
9 5/11/2010 12 5012
9 5/15/2010 50 5012
Something like:
Maximum ({Trans-DT}, {Command.Contract-No})Edit:
To summarize costs and count contracts, you’ll need a bit of trickery.
Add this (in a formula field) to the report header section:
This goes in the report footer:
And place this in a formula field within your Contract-No or Station group:
I’ll leave the counting part to you. Good luck!