Description
Searches a value in a Dimension List unique property, returns the item matching the value and BLANK if none is found.
Syntax
ITEM(Value to Find, Dimension.’Unique Property’)
Value to Findcan be stored in a Metric of List Property oftext,numberorintegertypeList.Unique Propertycan 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 will automaticaly map the Default Property of the Dimension.
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 like lookup on non unique values/expressions, refer to the MATCH function.
Excel equivalent: none