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: 
NewToQlikSens
Partner - Contributor II
Partner - Contributor II

Create associations between qvd using script

Hi all,

How do I make associations/relationship between different qvd's?

Ex: I have 2 qvd ----- Product.qvd - (Name and Price) and Department.qvd -(DeptName and Designation)

I want to form an association/relation between Product.Name and Department.DeptName using script only.

How do i do that? The datatype of the fields are the same.. but the name is different(has to be different, a requirement).

Any insights would be really helpful

Labels (4)
2 Replies
Clement15
Partner - Creator III
Partner - Creator III

Hello,

You can use the Autonumber() function in both tables.

Autonumber(Product.Name) as Id

Autonumber(Department.DeptName) as Id

This will create a common id for identical values.

autonumber - script function | QlikView Help

NewToQlikSens
Partner - Contributor II
Partner - Contributor II
Author

Will try with this. Thanks.