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

List items not purchased by customer

akasubi
8 - Asteroid

Hi,

 

I have 2 lists of data.

 

1. List of customers' purchases

2. Full list of items

 

CustomerItemAmount
A1231
A4561
A7891
B1231
B4561
C7891
D4561

D

7891

 

Item
123
456
789

 

As you can see, customers don't purchase all items. How can I output the data to display each item across all customers such that items that aren't purchased display an amount of 0? Please note that I'm using the In-DB tools with data from SQL Server.

 

Expected result below with the new rows highlighted.

 

CustomerItemAmount
A1231
A4561
A7891
B1231
B4561
B7890
C1230
C4560
C7891
D1230
D4561
D7891

 

Thanks!

afk

10 REPLIES 10
atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @akasubi 

 

Cheers and Happy Analyzing 😀

Labels