Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Inter company Customer Company Remap

Hi,

More help required.

I have a table that has a Customer No and a Company No see below. However I have a few exceptions where certain Customers have to be remapped to another Company.

For example I need to remap Customer:

HF123

HD123

to Company HS.

Can you advise how this can be done?

Thanks,

Nikki

Company  Customer 
HFHF123
HFHF456
HPHP123
HDHD123
HDHD456

HS

HS123
1 Solution

Accepted Solutions
Gysbert_Wassenaar

If there are only two values to remap this is easiest:

Load

    if(match(Customer,'HF123','HD123'),'HS',Company) as Company,

    Customer

From ...sourcetable...;


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

If there are only two values to remap this is easiest:

Load

    if(match(Customer,'HF123','HD123'),'HS',Company) as Company,

    Customer

From ...sourcetable...;


talk is cheap, supply exceeds demand