Description
Searches for a value among Items in a Dimension List unique Property, and returns the corresponding Dimension List Item, or BLANK if none is found.
Syntax
ITEM(Value to Find, Dimension.'Unique Property')
Value to Findcan be stored in a List Property with data typeText,NumberorInteger.Dimension.'Unique Property'can reference any unique Property of a Dimensional List. It is possible to omit the Property name (state only the Dimension name). In that case, Pigment automatically searches in the Dimension’s Default Property.
Return type
Same Dimension as Dimension parameter
Examples
Case | Results | Return Type |
|---|---|---|
| returns "Ben P.", item of the Employee List because it matches the employee email |
|
|
|
|
| for each row of the |
|
If you need a more permissive version of this function, such as a lookup function on non unique values/expressions, refer to the MATCH function.
Excel equivalent: none