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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Which articles are read when a certain article has also been read

I've tried searching the forum for an answer, but honestly I wouldn't even know what keywords to use for this problem. My problem is as follows:

On our company website customers can find articles or content about common problems they encounter with products. These articles are in our database with a unique id (Article_ID).

Each visit is logged in a database as a Visitor_ID. Each content item/article that has been clicked on is also entered in the database with Type_ID (in this case 6) and Type_Value with the used Article ID. If during a visit a customer clicks on more then artickle it would look like this:

Visitor_IDType_IDType_Value
1699
1633
1613
161340
2699
2619
3699
36125
368
467
46125


What I would like to know is our customers have read/clicked on Article_ID 99, which other articles have they also read/clicked on.

For example when Article_ID 99 has been read, it should come back with 33, 13, 1349,19,125 and 8. When Article_ID 125 has been read, it should come back with 7 and 8.

The answer is probably very simple, but I can't wrap my head around this one.

1 Solution

Accepted Solutions
Not applicable
Author

I dont' think the answer is simple.

Look at the attachment.

I just duplicated all the value (cartesian product) to create a new field type_value2 link to type_value by the Visitor_Id.

I'm not sure it's what you want. I suppose you have to take in consideration the order of items.

regards

jj

View solution in original post

1 Reply
Not applicable
Author

I dont' think the answer is simple.

Look at the attachment.

I just duplicated all the value (cartesian product) to create a new field type_value2 link to type_value by the Visitor_Id.

I'm not sure it's what you want. I suppose you have to take in consideration the order of items.

regards

jj