
The goal is to report how many customers were referred to an event by each third party Rep. The problem is that their referral can be either a Lead or a Contact, so I don't know how to combine them into a single count.
Ideally, the Rep names would appear in a single column on the report that could then be grouped on.
BTW, the Rep field is a text field on both Leads and Contacts
Any suggestions?
Thanks
4 respostas
Hi Steve,
Are you using the Campaigns with Campaign Members Report type, if so,
please create a formula field on Campaing Member Object with a return type text
IF(ISBLANK( ContactId ), Lead.third_party_rep__c ,Contact.third_party_rep__c )
the above formula will check if the campaign member is a contact, it will populate the value from contact else it will populate value from Lead.
use this formula field in the report.