community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Create new rows from dilimited data...

Asteroid

I have a file and the Program/Fund field has program and fund info (ex. Outreach - 50), there are some rows that have multiple programs/funds, some have 2, some 3, and some 4.

I need a way to split the program/fund field and create new rows for the additional program/funds. I would want the new rows to retain the values of the original row it was split from. 

I hope this table is enough...

Gift TypeCampaignDivisionProgram/FundFunder IDFunderNameStatus
Government GrantPublic FundingHomeless ServicesOutreach - 5011959City of Tester12019-20 Cities - SOPFunded
Government GrantPublic FundingHomeless ServicesSafe Haven - 46; Parkland - 4911959City of Tester12019-20 Cities - ShelterFunded
Government GrantPublic FundingHomeless ServicesNFGG - 63; NNFB - 60;  NFR - 68; NFOL - 7311959City of Tester12019-20  Cities - TLFFunded
Government GrantPublic FundingHomeless ServicesNew Found Grace Point - 7012670City of Tester2FY 2019 (10/1/20 - 9/30/21) HUD CoC, NFGPPending
Government GrantPublic FundingHomeless ServicesNew Found Grace Point - 7012670City of Tester2CY 2019 General Funds - NFGPFunded
Government GrantPublic FundingHomeless ServicesSupportive Housing - 7212670City of Tester2CY 2019 General Funds - RRHFunded
Government GrantPublic FundingHomeless ServicesNew Found Grace Point - 7012670City of Tester2FY 2017 (10/1/18 - 9/30/19) HUD, NFGPFunded
Government GrantPublic FundingHomeless ServicesNew Found Grace Point - 7012670City of Tester2FY 2018 (10/1/19 - 9/30/20) HUD, NFGPFunded
Government GrantPublic FundingHomeless ServicesSupportive Housing - 7212670City of Tester22017 HUD CoC, RRH (8/1/18 - 7/31/19)Funded

 

Thank you,

 

Paul Brainard

 

Alteryx Certified Partner
Alteryx Certified Partner

Hi @paulb1 

 

Is this table your desired Output or your Input?

 

Could you please give more details about these new rows? How many rows would that be?

 

Cheers,

Highlighted
Asteroid

Is the delimiter always a semicolon?

 

If so you just need the Parse tool, text to columns.

 

Split to rows and set the delimiter to a semicolon

 

clipboard_image_0.png

Asteroid
Thanks for the reply. This is my input table. I only want one program/fund per row. For the programs/funds I split out I want to retain all of the other values of the split from row.


Hope this helps!!
Asteroid

That looks simple enough, I'll give it a try tomorrow!  Yes, always a semi-colon.

Labels