Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

To add another field so I can join

Hi folks,

I am trying to add a ProductName filed in Table1. Then I will join Table1 with Table2 on ProductName.

In Table1, I have a ProductDescription column. The first several letters of each ProductDescription indicates the ProductName.  Eg. The ProductName of “Pandacookielover” is “Panda”. The ProductName of “Tomatorocks” is “Tomato”.

Could you guys give me some idea how I can handle this issue please?

Thanks a lot!!

Jaylynn

In table1

I have a “ProductDescription” field as follows.

Table1

ProductDescripton

Colum1

Colum2

Colum3

Colum4

Colum5

Pandacookielover

Pandacleaningmodel

Tigerneverlaugh

Tigerlaughtoomuch

Tomatorocks

Tomatoclubmonster

Onionflyhighhigh

Oninmissedpotato

Handbagcansing

Handbagoutdated

Toyknowsfashion

Cosmeticbeauty

Costmeticicecream

Toydreamsoftea

Lettuceguy

Orangejuicy

Shoeshatesocks

Shoesspeakchinese

Jacketdancer

Musechocolate

Lionking

Lionrabbit

Potatogame

Orangejacket

Onionmarrieslettuce

Shoestoetips

Cosmeticdancer

Musemomkitty

Toystory

Pandababy

Tigerrocket

Table2

ProductFamilyName

Code

ProductName

Zoo

Zoosection1

Tiger

Zoo

Zoosection2

Panda

Zoo

Zoosection4

Tigerfish

Zoo

Zoosection3

Muse

Zoo

Zoosection1

Lion

GroceryMkt

GroceryMktsection1

Tomato

GroceryMkt

GroceryMktsection1

Potato

GroceryMkt

GroceryMktsection2

Orange

GroceryMkt

GroceryMktsection1

Lettuce

GroceryMkt

GroceryMktsection1

Onion

DeptStore

DeptStoreSection1

Jacket

DeptStore

DeptStoreSection2

Shoes

DeptStore

DeptStoreSection2

Handbag

DeptStore

DeptStoreSection3

Toy

DeptStore

DeptStoreSection4

Cosmetic

10 Replies
Not applicable
Author

Hi Tobias,

You are such a genius!! It's almost what I'm looking for! Wish the database was cleaner so it would have been done!!The result shows that the data base is messier than we thought. I have a meeting with our product team tomorrow afternoon to talk about this.

TigerCat