Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Cross Matrix

carol_wu
6 - Meteoroid

Dear Masters,

 

I need to create a sales matrix, which have the same row header and column header, the values are # of transactions who purchased row header product category and also purchased column header product category.

I also attached the example for your references.

 

Thanks!

output.JPG

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

Hi!

 

There's a few ways this can be achieved. I've created two for you.

 

Option A: Perform a self join on 'VisitKey' then filter out where the category is the same, then perform a cross-tab.

 

Option B: Use the MB-Affinity tool to create the matrix in one step. This seems to be a bit slower though.

 

2018-07-31_16-51-14.png

 

See attached.

 

Ben

carol_wu
6 - Meteoroid

Wow, it worked, thanks!

Labels