Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
How do I match to specific item on my dimension. also wanna collate some item together and name them as one. see...
=if(match([item text], 'Blocks', 'Buckets', 'Box',
if(match([item text], 'Cutlass', 'Plates','Spoon'), 'Cutlery'),[Item text]),
'Cloth','Table','Chair'.........''
),[item text])
I wanna collate cutlass, plate, spoon to one name. what so I do?
Use a mapping table. See Data Cleansing
HIC
Not sure what you are trying to do? May be this in your load statement:
If(Match([item text], 'Cutlass', 'Plates', 'Spoon'), 'Cutlery', [item text]) as New_Item_Text

z:
load
[item text],
if(match([item text], 'Blocks', 'Buckets', 'Box',), '????',
if(match([item text], 'Cutlass', 'Plates','Spoon'), 'Cutlery',
[item text]
)) as [new item text]
inline [
item text
Blocks
Buckets
Box
Cutlass
Plates
Spoon
Chair
];
You can do this:
=If(Match([item text], 'Blocks', 'Buckets'), 'Box',
If(Match([item text], 'Cutlass', 'Plates','Spoon'), 'Cutlery',
If(Match([item text], 'Cloth','Table','Chair'), 'Furniture')))
But I would create an mapping table that loads the category associated with the items, and then use the category as the dimension.
You can use an excel file or an inline table to load the category to the corresponding item.
Load it as a mapping table then use the applymap function in your destination table.
Its a nested IF statement. I already matched to pick specific fields and I need to call these items A name. so that is where the next IF statement comes in
Am coding in Dimension editor not load please. I have a field holding all the items I wanna match
No that's not what I want
How do I do nested IF here
IF(Match(Country, 'Great Britain','UNITED KINGDOM','UK'), 'United Kingdom', Country)