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
Scott.MScott.M 

Rollup Field in Account for Number of Cases

Hi,

does anyone know if it's possible to rollup case fields to an account field? For example if I wanted to have a field that displayed the number of cases an account had filed. My organization has person account enabled. It doesn't appear to be possible but I though I'd ask just incase I'm missing something.

Thanks for any help! :)
werewolfwerewolf
Unfortunately those are not yet available.
Nazeer AhamedNazeer Ahamed
In the same way, Can we calculate number of contacts as roll up summary.

I just wonder, Why this option is not available.
Jeff C.ax327Jeff C.ax327

We have a business requirement for this right now.

We need a custom field on the Account object to reflect the number of Contacts belonging to that account.  However, since there is no master-detail relationship between Account and Contact, this is not available as a Rollup Summary.

I can envision a trigger on the Contact object that counts the number of contacts with its AccountId value and updates the parent account record....... but as we all know, this creates problems with bulk inserts/updates/deletes with "too many queries".

This is frustrating.

rpr2rpr2
This can be done very easily with the AppExchange product Demand Tools -- though the field doesn't get updated in real time as is the case with rollup summary fields.