Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove duplication by latest transaction date...

Status
Not open for further replies.

aviation001

Technical User
Oct 20, 2008
2
BS
first time cognos user; trying to run a report with employee date to yield results all employees with pay transactions between certain dates got that part right; the result shows multiple entries for some employees; i would like to sort/filter the report to remove the duplicate entries with the understanding that i still want all affected employees represented on the report with the latest date.

how do is specify a filter/query to show latest date entry only for all employees.

thanks
 
Try to add a second filter with the "maximum ... for" function like the following:

transaction_date = maximum(transaction_date) for employee_number

This should work in both Impromptu and Report Studio.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top