Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Roll-Up Summary Field Filter Fails When Picklist Values Exceed 255 Characters

게시 일자: Sep 5, 2026
상세 설명

When you create a Roll-Up Summary field in Salesforce and base its filter criteria on a picklist field, the filter criteria cannot exceed 255 characters. This becomes a problem when the picklist has many values you need to filter on.

For example, suppose you have a Country picklist field on the Opportunity object with 196 values, and you want to create a Roll-Up Summary field on Account that counts Opportunities from 40 specific countries. Listing 40 comma-separated country names in the Filter Criteria field can easily exceed the 255-character limit. It is also risky to edit a filter value with that many comma-separated entries, since you can accidentally remove or overwrite another value by mistake while modifying it.

Screenshot showing the Salesforce Roll-Up Summary filter criteria field hitting the 255-character limit when multiple picklist values are comma-separated

솔루션

This article explains how to work around the 255-character filter limit on a Salesforce Roll-Up Summary field when the filter needs to reference many picklist values. The workaround is to create a formula checkbox field on the child object that evaluates the picklist values using a CASE function, then filter the Roll-Up Summary on that checkbox instead of the picklist directly.

Step 1: Create a Formula Checkbox Field on the Child Object

  1. Go to the Fields & Relationships section on the child object and click New.
  2. Select Formula and click Next.
  3. Enter a Field Label. In this example, the field label is Valid Countries.
  4. Select the Checkbox option and click Next.
  5. Use a CASE function on the picklist field. In this example, it evaluates the Country picklist. You can add as many values as you need in the formula:
CASE( Country__c, 'Afghanistan', 1, 'Albania', 1, 'Algeria', 1, 'Andorra', 1, 'Angola', 1, 'Antigua and Barbuda', 1, 'Argentina', 1,0 ) = 1

This formula checks the Country picklist value on each record. If the value matches one of the listed countries, the formula returns 1 (true); otherwise it returns 0 (false). The checkbox field is then set to checked whenever the record matches one of your target countries.

  1. Click Check Syntax to validate the formula, then click Next.
  2. Select the appropriate Profiles for field-level security and click Next.
  3. You can hide this field from the page layout by deselecting the checkboxes, then click Save.

Step 2: Create the Roll-Up Summary Field on the Parent Object

  1. Go to the Fields & Relationships section on the master/parent object (in this example, Account) and click New.
  2. Select Roll-Up Summary and click Next.
  3. Enter a Field Label. In this example, the field label is Opportunities Count.
  4. Select Opportunity from the Summarized Object dropdown.
  5. Select the Roll-Up Type.
  6. Under the Filter Criteria section, click Only records meeting certain criteria should be included in the calculation.
  7. Select the Valid Countries field created in Step 1 from the Field dropdown.
  8. Select Equals as the Operator.
  9. Select True as the Value and click Next.
  10. Select the appropriate Profiles for field-level security and click Next.
  11. Click Save.
Knowledge 기사 번호

000390345

 
로드 중
Salesforce Help | Article