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
Ravi_SFDCRavi_SFDC 

Issue on the Picklist

Hi All,

I have picklist1 (values as x, y and z) and picklist2 (x1, x2, x3, y1, y2 and z1). Picklist2 is dependent picklist on picklist1.

Example: If i am selecting x from picklist1 for the first time and saving the record, i amd continuing with the selection. After completing my selections the records are displayed as below

x - x1
x - x2
x - x3
y - y1
z - z1

My query is referring to the above case there are 3 x, how can get the count based on this. i need the output as below

x - 3
y - 1
z - 1

Youe help would be really appriciated.

Thanks & Regards
Ravi


 

Jessica smartJessica smart

You can create three types of pick lists: static, subset, and dimension. A static pick list is composed of a comma-delimited list of values using the syntax static:value1:value2:value3:value4 . https://www.smione.ltd/