Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Variable List for Multiply Names

Hi Everyone,

Just wondered if anyone could help me please.

I have a number of reports which I want to incorporate in my Qlik View Report.  The only problem I have is that all these reports show the Supplier Names in lots of different formats.  For example

Report 1Report 2Report 3Report 4
Name 1234NAME 1234Name (1234)NAME - 1234
Supplier OneSupplier1Supplier 1SUPPLIER ONE
No NameNONAMENO (Name)No - Name

I was thinking that perhaps I could write a variable list which would take all these examples and bring back just my preferred name.

Does anybody have any idea how I would approach this?

Many Thanks

Kind Regards

Wendy

1 Solution

Accepted Solutions
sunny_talwar

I think you need to clean your data. May be look here for ways you can do this: Data Cleansing

View solution in original post

5 Replies
sunny_talwar

I think you need to clean your data. May be look here for ways you can do this: Data Cleansing

Anonymous
Not applicable
Author

Thanks Sunny

This will help me tremendously

Kind Regards

Wendy

Anonymous
Not applicable
Author

Hi,

I followed the instructions in the link but I must be doing something wrong as it is not working.

Please see below part of my script.  Please could you advise why this would not work?

MapTable:

LOAD [Change From],

     [Change To]

FROM

[Mapping Table Names.xlsx]

(ooxml, embedded labels, table is Sheet1);

Data:

LOAD

  ApplyMap( 'MapTable', [Repairer Name] ) as RepairerName,

Many Thanks,

Kind Regards

Wendy

sunny_talwar

Did you forget to add the Mapping keyword?

MapTable:

Mapping

LOAD [Change From],

    [Change To]

FROM

[Mapping Table Names.xlsx]

(ooxml, embedded labels, table is Sheet1);

Data:

LOAD

  ApplyMap( 'MapTable', [Repairer Name] ) as RepairerName,

Anonymous
Not applicable
Author

Hi Sunny,

Thanks I missed the obvious now it works perfectly.

Kind Regards

Wendy