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 Find
can be stored in a Metric of List Property oftext
,number
orinteger
type -
List.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 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 |
|
|
| Employee (Dimension) |
| for each row of the |
|
If you need a more permissive version of this function like lookup on non unique values/expressions, please refer to the MATCH function
Excel equivalent: none