Alteryx Designer Desktop Discussions

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

CSV Delimited by :

dpatton
6 - Meteoroid

Hello, 

 

I am trying to transform a CSV file that is delimited by a ":"

 

How can I transform this:

120::OWNER:CASHDBO:TABLE_NAME:CASH_ACTIVITY:Total_Number_of_Fields:187:Number_of_Fields_With_Values:105:Number_of_Fields_Null:82:Percentage_Used:56%:Total_Records:4812176:
120::OWNER:HOLDINGDBO:TABLE_NAME:LOT_LEVEL_POSITION:Total_Number_of_Fields:204:Number_of_Fields_With_Values:41:Number_of_Fields_Null:163:Percentage_Used:20%:Total_Records:164175394:
120::OWNER:HOLDINGDBO:TABLE_NAME:NAV:Total_Number_of_Fields:170:Number_of_Fields_With_Values:70:Number_of_Fields_Null:100:Percentage_Used:41%:Total_Records:640078:
120::OWNER:HOLDINGDBO:TABLE_NAME:PD_CURVE_ANALYTICS:Total_Number_of_Fields:80:Number_of_Fields_With_Values:19:Number_of_Fields_Null:61:Percentage_Used:24%:Total_Records:36517713:
120::OWNER:HOLDINGDBO:TABLE_NAME:POSITION:Total_Number_of_Fields:38:Number_of_Fields_With_Values:21:Number_of_Fields_Null:17:Percentage_Used:55%:Total_Records:441477:

 

to this:

OWNER

TABLE_NAMETotal Number of FieldsNumber of Fields With ValuesNumber of Fields NullPercentage UsedTotal Records
       
CASHDBOCASH_ACTIVITY1871058256%4812176
HOLDINGDBOLOT_LEVEL_POSITION2044116320%171392223
HOLDINGDBONAV1707010041%642949
HOLDINGDBOPD_CURVE_ANALYTICS80196124%37116937
HOLDINGDBOPOSITION38211755%446641

 

The pattern is as follows, Column Header:data:column header:data

 

Thanks for the help!

Dustin Patton

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @dpatton,

Here's one way of doing this:

IraWatt_0-1653413989664.png

There's a lot going on here make sure to ask if any questions or isses :)

HTH,

Ira

 

smoskowitz
12 - Quasar

You need the Text to Columns tool in the Parse tab. You can then delimit by colon (or whatever the delimiter is.) 

 

smoskowitz_0-1653421263104.png

 

 

Thanks,

Seth

Labels