Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

 

1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

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
Partner - Master II
Partner - Master II

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
];