Alteryx Designer Desktop Discussions

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

All 50 States to Show up even if not in Data Set

ang2816
6 - Meteoroid

Hello!

 

I am trying to work out an apportionment output file for sales that shows all 50 state abbreviations even if not all states had sales in a particular month for that data input.  I tried using the join and union tool but it didn't work.

 

Thank you!

6 REPLIES 6
PhilipMannering
16 - Nebula
16 - Nebula

Hi @ang2816 

Can you share what you expect the output to look like?

ang2816
6 - Meteoroid

Hello! 

I hoped I could get it to look something like this, and show all 50 states in the SHIP_TO_STATE column. Ultimately, I would also select the output to create a tab by the Seller Company Tab column from the input file which is why it doesn't need to show up in the output body.


Thanks!

 

SHIP_TO_STATETPPNONTPPOTHERTotal
AL    
AK    
AZ    
AR    
CA    
CO    
CT    
DE    
FL    
PhilipMannering
16 - Nebula
16 - Nebula

Like this?

PhilipMannering_0-1647616723622.png

 

ang2816
6 - Meteoroid

This looked great! However, when I generate the output file and select Prepend Prefix to File/Table Name based on the Seller Company Tab Column, only the states that the company made sales in will show up in that tab. Is there a way to have all states show up in every Seller Company Tab? 

ang2816_0-1647618364469.png

 

Luke_C
17 - Castor

Hi @ang2816 

 

Give this a go:

Luke_C_0-1647619757438.png

 

 

ang2816
6 - Meteoroid

Thank you so much!

Labels