Drawloop - Filter on Multi-Select Picklist values

  • 15 February 2022
  • 0 replies
  • 123 views

Userlevel 3
Badge +8

Topic

Filtering based on Multi-Select Picklist values.

 

Instructions

The values of multi-select fields are displayed as a string of text. To filter based on the specific API values they must all be unique. If they are unique, please filter based on single or multiple values using Equals or Contains.

 If they are not all unique use the Salesforce formula below:

Example: {Red, Orange-Red, Yellow, Green, Blue-Green}

5260i970F49F1494CED6E.png

The values are not unique because the values Red and Green are present in two values. Filtering with the Operator Contains would bring in information for the values Orange-Red or Blue-Green as well.
1. Create a Salesforce formula field with the below logic to create a list of unique values to filter on.

Formula:
IF( INCLUDES(Multi_Picklist_field_name__c , "Pick List Value 1"), "UniqueValue1 ","")
&
IF( INCLUDES(Multi_Picklist_field_name__c , "Pick List Value 2"), " UniqueValue2", "")
&
IF( INCLUDES(Multi_Picklist_field_name__c , "Pick List Value 3"), " UniqueValue3", "")
&
IF( INCLUDES(Multi_Picklist_field_name__c , "Pick List Value 4"), " UniqueValue4", "")

For this example, the UniqueValues are single letters.

5261i4EE8E8F601F4E829.png

Output:
5262i16106985E591A8CF.png

5263i8D4088D047CBE568.png

2. This now provides unique values to filter multi-picklist values.



 

 


0 replies

Be the first to reply!

Reply