Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Create new rows from dilimited data...

paulb1
8 - 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

 

4 REPLIES 4
Thableaus
17 - Castor
17 - Castor

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,

nakamott
8 - 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

paulb1
8 - 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!!
paulb1
8 - Asteroid

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

Labels