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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to study the association among fields

Hey Helpers,
I am new to Qlikview. I have a question about a study for association among products. The data like this:
Customer_IDProducts_No
1A
1C
1F
3C
3F
5A
5F
I want to reach a useful result like " People like to buy A and F at the same time. People like C is most likely to buy F. But people like F is equal likely to buy C and F."
My idea is transpose it to a wide table, like this:
Customer_IDACF
1111
311
511

And then find the meaning from a logic like {"if A is not null", sum(F)>sum(C)" then People like to buy A and F at the same time.}

My question is

1. Do I have to transpose to solve my problem? Any better way?

2. How to transpose it?

3. How to apply my logic into QV?

Any help will be much appreciated,

Andy

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Good point, Sushil. Thanks. But how to apply my logic to the pivot table? It is not the column total, but a grouped column total. Right?

View solution in original post

2 Replies
sushil353
Master II
Master II

Hi,

Using Pivot table you can achieve this

Please find the attached sample application.

is this what u are looking for?

HTH

Sushil

Not applicable
Author

Good point, Sushil. Thanks. But how to apply my logic to the pivot table? It is not the column total, but a grouped column total. Right?