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: 
Upew
Contributor III
Contributor III

Association between tables based on conditions

Hello, 

I have 2 tables:

1. Customer table

2. Products table

In my customer table i have a customer id column and a date column wich show when the customer enter the store and when he exit (customer id + date enter is my unique key)

In my my products table i have the customer id column, product_bought and the date they bought each product.

I want the create association between this 2 table based on the customer id + date_enter +date_bought)

So i will see on each customer what products he bought on each visit on my store.

On sql its going like this:

Join...

On customer id = customer id

And date_bought >= date_enter

And date_bought <= date_exit

Is ther a way to use the same logic on qlik sense also?

Thanks alot!

Labels (2)
1 Solution

Accepted Solutions
Or
MVP
MVP

1 Reply
Or
MVP
MVP