Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 - Specialist
Partner - Specialist

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.