<?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 Problem reading files in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431817#M80902</link>
    <description>&lt;P&gt;Hi, I am having a strange issues with reading files and was hoping some of you might help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of analytics apps (all duplicates of each other, the only thing different between them are the files used to fill up dropdown fields). All the apps contain a field called Comments which is mainly left empty. Each app generate an Excel file with the same schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now need to analyse the results of the app and decided to put an input tool to open all Excel files produced by the app in one go (using the * option) since they should all have the same schema.&amp;nbsp; Unfortunately when the column Comments is completely empty it gets read as a double while when it contains text it gets read as a string. I therefore don't seem to be able to combine all files in one go using an input tool with a * in the filename because Alteryx thinks they have different schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I could do this other than opening each file individually and then union them (I have ~100 files so that would be painful)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 08:48:02 GMT</pubDate>
    <dc:creator>rmelchiotti</dc:creator>
    <dc:date>2019-06-26T08:48:02Z</dc:date>
    <item>
      <title>Problem reading files</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431817#M80902</link>
      <description>&lt;P&gt;Hi, I am having a strange issues with reading files and was hoping some of you might help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a series of analytics apps (all duplicates of each other, the only thing different between them are the files used to fill up dropdown fields). All the apps contain a field called Comments which is mainly left empty. Each app generate an Excel file with the same schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now need to analyse the results of the app and decided to put an input tool to open all Excel files produced by the app in one go (using the * option) since they should all have the same schema.&amp;nbsp; Unfortunately when the column Comments is completely empty it gets read as a double while when it contains text it gets read as a string. I therefore don't seem to be able to combine all files in one go using an input tool with a * in the filename because Alteryx thinks they have different schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I could do this other than opening each file individually and then union them (I have ~100 files so that would be painful)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 08:48:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431817#M80902</guid>
      <dc:creator>rmelchiotti</dc:creator>
      <dc:date>2019-06-26T08:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading files</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431821#M80906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/23303"&gt;@rmelchiotti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you add a select tool to force the Comment field to be a string field that should solve the problem. Alternatively, you could add a dummy value e.g. a single space which results in the field being automatically assigned as a string type.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 08:52:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431821#M80906</guid>
      <dc:creator>jamielaird</dc:creator>
      <dc:date>2019-06-26T08:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading files</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431830#M80911</link>
      <description>&lt;P&gt;Unfortunately that does not seem to help because the reading is done before the Select Tool and Alteryx skips reading the files that do not follow the schema of the first Excel file (where comment is empty and therefore read as a double).&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:17:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431830#M80911</guid>
      <dc:creator>rmelchiotti</dc:creator>
      <dc:date>2019-06-26T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading files</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431841#M80913</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/23303"&gt;@rmelchiotti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are your tables structured in the same way? Could you try checking the box 'first row contains data'? That way it should recognize everything as a string (so be fine), and from there use a dynamic rename and autofield/select after that, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="WildcardInputs.PNG" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/67439i469A447AA06238EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="WildcardInputs.PNG" alt="WildcardInputs.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously the stacking of files now is now dependent on fields being in the same place (as field F1 could differ between files). If this isn't suitable (because the file structures are so different) then I suspect you could use a batch macro to solve it (with Auto Config by Name checked) - let me know if you want any help with that...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:30:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431841#M80913</guid>
      <dc:creator>andyuttley</dc:creator>
      <dc:date>2019-06-26T09:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading files</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431845#M80916</link>
      <description>&lt;P&gt;Thanks Andy, that would work. I ended up using a batch macro as explained here&amp;nbsp;&lt;A href="https://community.alteryx.com/t5/Alteryx-Knowledge-Base/CS-Macro-Dev-Reading-in-Multiple-Files-with-Different-Field/ta-p/13370" target="_self"&gt;https://community.alteryx.com/t5/Alteryx-Knowledge-Base/CS-Macro-Dev-Reading-in-Multiple-Files-with-Different-Field/ta-p/13370&lt;/A&gt;&amp;nbsp; just because it was slightly cleaner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for all your help&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:35:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Problem-reading-files/m-p/431845#M80916</guid>
      <dc:creator>rmelchiotti</dc:creator>
      <dc:date>2019-06-26T09:35:47Z</dc:date>
    </item>
  </channel>
</rss>

