Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
danny4202001
Contributor II
Contributor II

Mapping table

Hello Friends,

I have a table coming with all items with standard prices,

Standard

ITEMS   PRICE

1              50

2              100

3               400

55           50000

 I want to keep standard price for items 3 and 55 and mapping price from below mapping CSV for items 1 & 2 as new price 

how do I do this?

Mapping table

ITEMS   PRICE

1              500

2              1000

Thanks,

D

 

Labels (4)
1 Solution

Accepted Solutions
BrunPierre
Master
Master

PriceMapping:
Mapping LOAD * Inline[
ITEMS,PRICE
1,500
2,1000
];

Standard:
LOAD *,
ApplyMap('PriceMapping',ITEMS,PRICE) as [New Price] 
Inline[
ITEMS,PRICE
1,50
2,100
3,400
55,50000
];

View solution in original post

1 Reply
BrunPierre
Master
Master

PriceMapping:
Mapping LOAD * Inline[
ITEMS,PRICE
1,500
2,1000
];

Standard:
LOAD *,
ApplyMap('PriceMapping',ITEMS,PRICE) as [New Price] 
Inline[
ITEMS,PRICE
1,50
2,100
3,400
55,50000
];