Minimum date in Cognos Report Studio

I have a list containing

[Customer ID]
[Transaction ID]
[Transaction Date]
[Sales Team Name]
[Purchase Type]

I want to have a list that gives me the date of earliest transaction for each customer. Filtering the report on:
[Transaction Date] = minimum ([Transaction Date] for [Customer ID])
will give me the earliest date the customer had a transaction.
The only issue with this is where the customer has two transactions on their first day. That’s the bit i’m working on. Any help or advice would be greatly appreciated.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s