<?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 Replace load issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826537#M67963</link>
    <description>&lt;P&gt;I want to concat the tables. so I use this script but it doesn't work&lt;/P&gt;&lt;P&gt;I am sharing the errow below. how can I work on this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfTables()&lt;BR /&gt;TableList:&lt;BR /&gt;LOAD TableName($(i)) as Tablename AUTOGENERATE 1&lt;BR /&gt;WHERE WildMatch(TableName($(i)), 'ZCS_BOM_EXPL_MAT_V2*');&lt;BR /&gt;NEXT i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Tablename')&lt;/P&gt;&lt;P&gt;LET vTable = FieldValue('Tablename', $(i));&lt;BR /&gt;Concatenate (ZCS_BOM_EXPL_MAT_V2)&lt;BR /&gt;LOAD * RESIDENT [$(vTable)];&lt;BR /&gt;DROP TABLE [$(vTable)];&lt;BR /&gt;NEXT i;&lt;/P&gt;&lt;P&gt;DROP TABLE TableList;&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-inline" image-alt="arzuatasever_0-1628062610591.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59663i83A4D30A72F2AAD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arzuatasever_0-1628062610591.png" alt="arzuatasever_0-1628062610591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 07:43:10 GMT</pubDate>
    <dc:creator>arzuatasever</dc:creator>
    <dc:date>2021-08-04T07:43:10Z</dc:date>
    <item>
      <title>Replace load issue</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826537#M67963</link>
      <description>&lt;P&gt;I want to concat the tables. so I use this script but it doesn't work&lt;/P&gt;&lt;P&gt;I am sharing the errow below. how can I work on this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfTables()&lt;BR /&gt;TableList:&lt;BR /&gt;LOAD TableName($(i)) as Tablename AUTOGENERATE 1&lt;BR /&gt;WHERE WildMatch(TableName($(i)), 'ZCS_BOM_EXPL_MAT_V2*');&lt;BR /&gt;NEXT i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR i = 1 to FieldValueCount('Tablename')&lt;/P&gt;&lt;P&gt;LET vTable = FieldValue('Tablename', $(i));&lt;BR /&gt;Concatenate (ZCS_BOM_EXPL_MAT_V2)&lt;BR /&gt;LOAD * RESIDENT [$(vTable)];&lt;BR /&gt;DROP TABLE [$(vTable)];&lt;BR /&gt;NEXT i;&lt;/P&gt;&lt;P&gt;DROP TABLE TableList;&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-inline" image-alt="arzuatasever_0-1628062610591.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59663i83A4D30A72F2AAD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arzuatasever_0-1628062610591.png" alt="arzuatasever_0-1628062610591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 07:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826537#M67963</guid>
      <dc:creator>arzuatasever</dc:creator>
      <dc:date>2021-08-04T07:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replace load issue</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826591#M67971</link>
      <description>&lt;P&gt;It looks like your TableList does not autoconcatenate correctly. I notice TableList-6,&amp;nbsp;TableList-7,&amp;nbsp;TableList-8, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does your datamodel look like after the first loop and have you controlled the content of the Tablename field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also concerned about your Where condition,&lt;BR /&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;WildMatch(TableName($(i)), 'ZCS_BOM_EXPL_MAT_V2*');,&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;as it will include the table you are concatenating everything into, the&amp;nbsp;&lt;SPAN&gt;ZCS_BOM_EXPL_MAT_V2 table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 11:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826591#M67971</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-04T11:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace load issue</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826601#M67972</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;tablelist tables include other table names. for excamle ZCS_BOM_EXPL_MAT_V2-3, ZCS_BOM_EXPL_MAT_V2-4 etc.&lt;/P&gt;&lt;P&gt;I want to concat some tables that are ZCS_BOM_EXPL_MAT_V2-3, ZCS_BOM_EXPL_MAT_V2-4, ZCS_BOM_EXPL_MAT_V2-5 etc.&amp;nbsp; so I write ZCS_BOM_EXPL_MAT_V2* for find to all of them&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 12:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826601#M67972</guid>
      <dc:creator>arzuatasever</dc:creator>
      <dc:date>2021-08-04T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Replace load issue</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826656#M67990</link>
      <description>&lt;P&gt;I understand but by using&amp;nbsp;&lt;SPAN&gt;ZCS_BOM_EXPL_MAT_V2* you will also include the&amp;nbsp;ZCS_BOM_EXPL_MAT_V2 table in your&amp;nbsp;TableList. And if so then you would probably drop that table somewhere in the final loop .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-load-issue/m-p/1826656#M67990</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-04T14:38:15Z</dc:date>
    </item>
  </channel>
</rss>

