Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Advanced Set Analysis

Please see this data table:

Brand

Item

Customer

Month

Eggo

Blueberry

Ryan

Jan

Eggo

Blueberry

Ryan

Feb

Waffle House

Blueberry

Ryan

Mar

Eggo

Strawberry

Ryan

Mar

I would like to write an analysis that gives me a count of Customers, By Month where the Customer switched the Brand but hanged on to the Item. For example in the Month of March Ryan switched to Waffle House but stayed with Blueberry item.

Thanks.

3 Replies
Gysbert_Wassenaar

And how do you handle two simultaneous changes?

Eggo/Blueberru->Waffle House/Blueberry + Eggo/Blueberry->Eggo/Strawberry


talk is cheap, supply exceeds demand
Not applicable
Author

We will not handle simultaneous changes. It will be always the first start within the time period selected. The base will always begin with Eggo. That will never change.

Not applicable
Author

I believe its easy to add the flag on the script level instead of set analysis if you data granularity is on Month level.

Set analysis won't work on the row by row comparison.