I got an issue with roll-up summary field, I'm trying to create a cumulative summary field that count the number of Contact with the role X associated to my Account.
So I go to Account which is the parent, I add a new field –> roll-up summary –> I choose Associated Contact –> Count and then on filter criteria I can choose fields but my Role field isn't in the list (And Role is a field of my Associated contact custom object), only few fields of my Associated contact custom object are in the list.
Do you know why my Role Field isn't on the list ? My Role field is a multi-select pick-list that's maybe why I can't access it but is there a way to count my contact associated to my account filtered by Role ? I really need to do this.
Thank you for your answer
Best Answer
Right - you can't use multi-select picklists to filter a roll-up summary field. You've got a couple options:
Build a formula field on your Associated Contact object, and filter on that. Use a Boolean formula that is the filter you want for your roll-up summary. Then you just use the formula field being TRUE in the roll-up summary's filter. So if you want to filter for two specific roles:
INCLUDES(Roles__c, "Business User") || INCLUDES(Roles__c, "Economic Decision Maker")