<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to import a variable column width, stacked csv file into Alteryx. in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5559#M3261</link>
    <description>&lt;P&gt;I have a variable column-width stacked csv file that I'm trying import into Alteryx. &amp;nbsp;A brief file description follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file is a csv file that includes several different tables. &amp;nbsp;Tables are differentiated by the first column of every row:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;H - Header row - only one row and seven columns. &amp;nbsp; ** Note - this is label a header row, but is really a data row **&lt;/LI&gt;
&lt;LI&gt;R - Race rows - typically 8 to 10 rows and approxiimately 69 columns&lt;/LI&gt;
&lt;LI&gt;S - Starters rows - typically 80 to 90 rows and approximatey 90 columns&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;E - Exotic Wager rows - typically 25 to 35 rows and approximately 9 columns&lt;/LI&gt;
&lt;LI&gt;F - Footnotes - typically 100 to 130 rows and 4 columns&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The file also do not include a traditional title/header row (data in first row). The file is a standard txt file but comes with a .chart file extension. &amp;nbsp;I'm hoping that I won't have to edit the extension. &amp;nbsp;&lt;EM&gt;Note: To upload my sample file I had to change the extension from .chart to .txt.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a sample file for your information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My objective is to import the file and then create a table in my SQl server database from the imported data without converting to an Excel file format.(xlsx). &amp;nbsp; I want to avoid the conversion to excel to maintain a fully automated work flow. &amp;nbsp;I will be processing files in rather large batches and converting each file to excel is not feasable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried importing using the text import tool and a couple of others, however I have not been able to import the entire file claenly. &amp;nbsp;Problems I have encountered include just importing the H header row (first row of the file). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone come across a similar file structure and been able to import to Alteryx sucessfully. &amp;nbsp; I'd appreciate any suggestions or ideas you have.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 01:27:06 GMT</pubDate>
    <dc:creator>mutuelinvestor</dc:creator>
    <dc:date>2018-05-24T01:27:06Z</dc:date>
    <item>
      <title>How to import a variable column width, stacked csv file into Alteryx.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5559#M3261</link>
      <description>&lt;P&gt;I have a variable column-width stacked csv file that I'm trying import into Alteryx. &amp;nbsp;A brief file description follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file is a csv file that includes several different tables. &amp;nbsp;Tables are differentiated by the first column of every row:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;H - Header row - only one row and seven columns. &amp;nbsp; ** Note - this is label a header row, but is really a data row **&lt;/LI&gt;
&lt;LI&gt;R - Race rows - typically 8 to 10 rows and approxiimately 69 columns&lt;/LI&gt;
&lt;LI&gt;S - Starters rows - typically 80 to 90 rows and approximatey 90 columns&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;E - Exotic Wager rows - typically 25 to 35 rows and approximately 9 columns&lt;/LI&gt;
&lt;LI&gt;F - Footnotes - typically 100 to 130 rows and 4 columns&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The file also do not include a traditional title/header row (data in first row). The file is a standard txt file but comes with a .chart file extension. &amp;nbsp;I'm hoping that I won't have to edit the extension. &amp;nbsp;&lt;EM&gt;Note: To upload my sample file I had to change the extension from .chart to .txt.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a sample file for your information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My objective is to import the file and then create a table in my SQl server database from the imported data without converting to an Excel file format.(xlsx). &amp;nbsp; I want to avoid the conversion to excel to maintain a fully automated work flow. &amp;nbsp;I will be processing files in rather large batches and converting each file to excel is not feasable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried importing using the text import tool and a couple of others, however I have not been able to import the entire file claenly. &amp;nbsp;Problems I have encountered include just importing the H header row (first row of the file). &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone come across a similar file structure and been able to import to Alteryx sucessfully. &amp;nbsp; I'd appreciate any suggestions or ideas you have.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 01:27:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5559#M3261</guid>
      <dc:creator>mutuelinvestor</dc:creator>
      <dc:date>2018-05-24T01:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable column width, stacked csv file into Alteryx.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5569#M3262</link>
      <description>&lt;P&gt;Hey&lt;BR /&gt;&lt;BR /&gt;So some tips:&lt;BR /&gt;&lt;BR /&gt;- you shouldn't need to change the extension, import it as a txt file type&lt;BR /&gt;(show All Files at bottom) and choose no delimiter, this will bring&lt;BR /&gt;everything as one column of text. Untick the "First Row Contains Field&lt;BR /&gt;Names"&lt;BR /&gt;&lt;BR /&gt;- create a new formula LEFT(Field1,1) to parse off the first character&lt;BR /&gt;&lt;BR /&gt;- split off (using a series of filters) each type of table so you can parse&lt;BR /&gt;them separately e.g. using an expression [RowType]='E'.&lt;BR /&gt;&lt;BR /&gt;- use Text to columns to split each type into the desired number of columns&lt;BR /&gt;by splitting on comma&lt;BR /&gt;&lt;BR /&gt;- use Select or Dynamic Rename to rename the headers in each case.&lt;BR /&gt;&lt;BR /&gt;I haven't done this for you, I imagine you want to learn yourself, but yell&lt;BR /&gt;if you want some more specific advice of just a final module and I'm sure&lt;BR /&gt;someone will help.&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:33:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5569#M3262</guid>
      <dc:creator>chris_love</dc:creator>
      <dc:date>2015-10-15T16:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable column width, stacked csv file into Alteryx.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5570#M3263</link>
      <description>&lt;P&gt;To add to chris for Text to cloumns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can try the one here to split the number of columns&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://artisantechno.com/index.php/2015/10/06/alteryx-part-2-parsing-semi-structured-data/" target="_blank"&gt;http://artisantechno.com/index.php/2015/10/06/alteryx-part-2-parsing-semi-structured-data/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;does same but you need to add /modify little to your requirement (Learn yourself by modifying it)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 18:10:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5570#M3263</guid>
      <dc:creator>s_pichaipillai</dc:creator>
      <dc:date>2015-10-09T18:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable column width, stacked csv file into Alteryx.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5574#M3264</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the tips. I plan to put them to good use this evening. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 18:53:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5574#M3264</guid>
      <dc:creator>mutuelinvestor</dc:creator>
      <dc:date>2015-10-09T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a variable column width, stacked csv file into Alteryx.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5575#M3265</link>
      <description>&lt;P&gt;Thanks for bring this to my attention. This is great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 18:55:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/How-to-import-a-variable-column-width-stacked-csv-file-into/m-p/5575#M3265</guid>
      <dc:creator>mutuelinvestor</dc:creator>
      <dc:date>2015-10-09T18:55:52Z</dc:date>
    </item>
  </channel>
</rss>

