N
Nirmalya Choudhury
I have a table with 20 columns. They are Campaign, Company Name, Contact Name, Designation, Address 1, Address 2, Address 2, Address 3, City, Zip, Country, Phone, Email, Date, List Source, List Type.
I have multiple instances of interacting with a contact for each campaign.
e.g For Campaign 1 and Company A, Contact B I have 5 records of 5 differenttimes we contacted him logged by the date. I want to create a table that copies all the columns but selects only the row with the most recent interaction we had with the contact, the newest date.
I have concatenated the campaign, company and contact name to create a unique identifier. For each of those unique identifiers, I have multiple dates that they have been contacted. I want to only select the row with the most recent date's data.
It seems simple enough but when I try to use Group By for all columns and the Max date, I don't get the correct result.
Any help is appreciated.
Thanks,
Nirmalya
I have multiple instances of interacting with a contact for each campaign.
e.g For Campaign 1 and Company A, Contact B I have 5 records of 5 differenttimes we contacted him logged by the date. I want to create a table that copies all the columns but selects only the row with the most recent interaction we had with the contact, the newest date.
I have concatenated the campaign, company and contact name to create a unique identifier. For each of those unique identifiers, I have multiple dates that they have been contacted. I want to only select the row with the most recent date's data.
It seems simple enough but when I try to use Group By for all columns and the Max date, I don't get the correct result.
Any help is appreciated.
Thanks,
Nirmalya