Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

how do i convert to single field

Hi All

    I have the following scenario,.......I have 2 Tables, 1. Depart & 2. Sales

   In that tables,Once we reload the Script.......In Table Viewer tool. I find Some common type of Same fields with different field names..

  How can i convert  into single single field.......

Thanks

Madhu

8 Replies
jsingh71
Partner - Specialist
Partner - Specialist

Use Concatenate in your load statement.

amit_saini
Master III
Master III

Not applicable

Hi Madhu,

if you have the same field from tow tables with slightly different names, you can alias these in your load script.

By doing that you will create a join on that field between your tables. You also have the option to alias and concatenate your two tables into a single common table.

LOAD

ID AS     Depart_ID

From

Depart.....

LOAD

SaleDepartID AS     Depart_ID

From

Sales.....

Hope that helps

Joe

Not applicable

If fields are same you can join two tables on common fields by renaming them, better if you attached some data your tables.

Not applicable

Failing that, post up some example script or QVW as that would be much easier to troubleshoot

madhubabum
Creator
Creator
Author

Hi Joe Simmons

Thanks to ur reply.......

   In My Script i have more than one Common Fields in Two Tables

Not applicable

Then concatenate may be your best option, like I say, uploading an example would be best to help.

You can alias multiple fields and concatenate your tables it sounds like though

madhubabum
Creator
Creator
Author

Hi,

Then Link Table come into picture