function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mahu SimsMahu Sims 

Rollup Field & Trigger?

Hello,

I am trying to rollup some information in Salesforce. How would I rollup a field on the account level with number of active users (users with a last activity date within the last 12 months)? I tried this using a free version o rollup helper but it doesn't seem to be working correctly. Any ideas?
PratikPratik (Salesforce Developers) 
Hi Mahu,

You can refer this to get started:
http://salesforce.stackexchange.com/questions/33650/how-to-write-a-rollup-summary-trigger-for-a-lookup-relationship

Thanks,
Pratik
David BermanDavid Berman
I'm not sure I understand the use case and requirement.  When you're talking about users, you mean Salesforce users, not contacts, right?  How are these users connected to the account?  Rollup Helper should be able to help, but I'm struggling with the question.  Could you provide an example?  Thanks.