Hi, i've been racking my brain over this for a couple of days and can't see to find a definitive solution.
Basically, my database contains details relating to customer contact, i'm reporting on letters that have been sent to customers and the date they were sent. Most letters have only been sent once, but some have been sent 2, 3 or 4 times. I'm interested in only returning details relating to the first letter sent. The cases that only have i letter are not a problem, the problem lies with the multiple letters.
I thought i could get around it by using a min measure on the date of the letter, but this hasn't worked. Then i tried combining a count in (to find the instances where there are more than 1 letter) combined with an if statement (if count (letter date) in (customer) but alas, still no joy.
Anybody have a suggestion for a function to look into or alternatively a solution... As always any help will be greatly appreciated.
Andy
Basically, my database contains details relating to customer contact, i'm reporting on letters that have been sent to customers and the date they were sent. Most letters have only been sent once, but some have been sent 2, 3 or 4 times. I'm interested in only returning details relating to the first letter sent. The cases that only have i letter are not a problem, the problem lies with the multiple letters.
I thought i could get around it by using a min measure on the date of the letter, but this hasn't worked. Then i tried combining a count in (to find the instances where there are more than 1 letter) combined with an if statement (if count (letter date) in (customer) but alas, still no joy.
Anybody have a suggestion for a function to look into or alternatively a solution... As always any help will be greatly appreciated.
Andy