Loading
Prepare for Email to Become the Default Login ExperienceRead More
Salesforce Personalization
Aggregate the Requests Served to Individuals per Day

Aggregate the Requests Served to Individuals per Day

This query gets the number of requests served and how many individuals received those requests on a daily basis.

SELECT
DATE_TRUNC('day',RequestDateTime__c) as Day,
COUNT(DISTINCT PersonalizationRequestId__c) as NumRequests,
COUNT(DISTINCT IndividualId__c) as UniqueIndividuals
FROM
PersonalizationLog__dlm
GROUP BY
1
ORDER BY
1
 
Loading
Salesforce Help | Article