We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to add data from another table in new column itteratively

kams01
6 - Meteoroid

Hello

1st time posted long time reader

 

I have a table, snapshot below:

Budget CategoryForecast Plan TypeCapSpendCategory
Carryover5G mmWSoft Costs - Entitlement Services
Carryover5G mmWHard Costs - Services OOS
Carryover5G mmWHard Costs - Services Add On
Carryover5G mmWHard Costs - Services
Carryover5G mmWHard Costs - RAN Equipment
Carryover5G mmWHard Costs - Ancillary Equipment
CarryoverAASSoft Costs - Entitlement Services
CarryoverAASHard Costs - Services OOS
CarryoverAASHard Costs - Services Add On
CarryoverAASHard Costs - Services
CarryoverAASHard Costs - RAN Equipment
CarryoverAASHard Costs - Ancillary Equipment

 

Basically I need to add 2 columns, 1 that has Region, and other has City names. I need to create copies of the above table as many times over and append them to a larger table as there are region/city combination. 

 

So the result should look like:

Budget CategoryForecast Plan TypeCapSpendCategoryRegionCity
Carryover5G mmWSoft Costs - Entitlement ServicesWestLA
Carryover5G mmWHard Costs - Services OOSWestLA
Carryover5G mmWHard Costs - Services Add OnWestLA
Carryover5G mmWHard Costs - ServicesWestLA
Carryover5G mmWHard Costs - RAN EquipmentWestLA
Carryover5G mmWHard Costs - Ancillary EquipmentWestLA
CarryoverAASSoft Costs - Entitlement ServicesWestLA
CarryoverAASHard Costs - Services OOSWestLA
CarryoverAASHard Costs - Services Add OnWestLA
CarryoverAASHard Costs - ServicesWestLA
CarryoverAASHard Costs - RAN EquipmentWestLA
CarryoverAASHard Costs - Ancillary EquipmentWestLA
Carryover5G mmWSoft Costs - Entitlement ServicesEastNY
Carryover5G mmWHard Costs - Services OOSEastNY
Carryover5G mmWHard Costs - Services Add OnEastNY
Carryover5G mmWHard Costs - ServicesEastNY
Carryover5G mmWHard Costs - RAN EquipmentEastNY
Carryover5G mmWHard Costs - Ancillary EquipmentEastNY
CarryoverAASSoft Costs - Entitlement ServicesEastNY
CarryoverAASHard Costs - Services OOSEastNY
CarryoverAASHard Costs - Services Add OnEastNY
CarryoverAASHard Costs - ServicesEastNY
CarryoverAASHard Costs - RAN EquipmentEastNY
CarryoverAASHard Costs - Ancillary EquipmentEastNY

 

Copy paste could take a while with several combination. Is there an easy way to do this? Thanks in advance!

4 REPLIES 4
ChrisTX
16 - Nebula
16 - Nebula

Use a Text Input tool to store your values for Region and City.  Then use the Append Fields tool to combine your table with the data from the Text Input.

 

Chris

kams01
6 - Meteoroid

Thanks!

 

I am getting an error that there were more than 16 records in the source. Any idea why?

 

Attached is the workflow

ChrisTX
16 - Nebula
16 - Nebula

In the Append Fields tool, change the configuration option at the bottom to Allow All Appends.

 

grazitti_sapna
17 - Castor

Hi @kams01 , change the option to allow all appends, please refer to the screenshot.

 

grazitti_sapna_0-1598417030367.png

 

Thanks.

 

Sapna Gupta
Labels
Top Solution Authors