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

Joining of tables

Hi,

Am having data in two different hive tables,want to join that two different hive tables through date as primary key. It would be helpful if any one helps.

Regards,

Tejavardhana.

6 Replies
sushil353
Master II
Master II

it would be great if you put some sample data..

other wise qlikview join tables on the bases of samefield names

the syntex for join is

table1:

load * from xyz.xl

join (table1)

table 2:

load * from abd.xl

HTH

Sushil

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     Keep the same name of the field which you want to join. Something like below.

     Load Field1, Date from xyz;

     Load Field2,Date from pqr;

     QlikView will link them by default on the basis of same name.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
er_mohit
Master II
Master II

using floor function in other table which you want to join

like date(floor(datefield))

hope it helps

Not applicable
Author

hi

write your datefield as given below in both table.

Date(floor(datefield))

Not applicable
Author

Use Num() function on Date and join the tables.

eg Num(Date).

Not applicable
Author

Well you are not providing much info here,

anyway QV will do a automatic join if the fields have the same name.

So just rename using AS and you will get your join done.

This if i understood your problem correctly.

Cheers,

JP