<?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 Re: Auto concat not working in qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884768#M72882</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you get an error message?&lt;/P&gt;
&lt;P&gt;I would guess that you run into trouble on this line:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Concat(Test)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try changing it to Concat&lt;STRONG&gt;enate&lt;/STRONG&gt; (Test) instead.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Concatenate () is the correct function when concatenating data in a load. Concat() is used for aggregating a field inside an application.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 23:32:21 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2022-01-24T23:32:21Z</dc:date>
    <item>
      <title>Auto concatenate not working in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884716#M72877</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I'm trying to execute 10 sql queries in qlik sense which have same fields but different data but the output is showing same values for all the tables. Below is my script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name,&lt;/P&gt;
&lt;P&gt;sql_statement,&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;from table;&lt;/P&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;' ' as Empty,&lt;/P&gt;
&lt;P&gt;autogenerate 0;&lt;/P&gt;
&lt;P&gt;For I=0 to Noofrows('Table')-1&lt;/P&gt;
&lt;P&gt;let vName= peek('Name','$(i)','Table);&lt;/P&gt;
&lt;P&gt;let vproduct =&amp;nbsp;peek('Product','$(i)','Table);&lt;/P&gt;
&lt;P&gt;let vSQL =&amp;nbsp;peek('sql_statement','$(i)','Table);&lt;/P&gt;
&lt;P&gt;let vSQL_Query= replace(replace(peek('sql_statement',0,'Table'),'Product','$(vproduct)'),'DB','$(vDB)');&lt;/P&gt;
&lt;P&gt;LIB connect to '$(vConn)';&lt;/P&gt;
&lt;P&gt;Concatenate(Test)&lt;/P&gt;
&lt;P&gt;load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;'$(vName)' as Table_Name;&lt;/P&gt;
&lt;P&gt;SQL $(vSQL_Query);&lt;/P&gt;
&lt;P&gt;Next i&lt;/P&gt;
&lt;P&gt;drop table Table;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 00:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884716#M72877</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-01-25T00:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Auto concat not working in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884768#M72882</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you get an error message?&lt;/P&gt;
&lt;P&gt;I would guess that you run into trouble on this line:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Concat(Test)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try changing it to Concat&lt;STRONG&gt;enate&lt;/STRONG&gt; (Test) instead.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Concatenate () is the correct function when concatenating data in a load. Concat() is used for aggregating a field inside an application.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 23:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884768#M72882</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-01-24T23:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Auto concat not working in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884769#M72883</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;
&lt;P&gt;Sorry i have manually written the above script. Yes i used concatenate. The issue i see here is same sql is executing for all the names (Table Name). So the output is showing same results for all these 10 tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 23:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884769#M72883</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-01-24T23:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Auto concat not working in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884841#M72892</link>
      <description>&lt;P&gt;I notice this row&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;let vSQL_Query= replace(replace(peek('sql_statement',&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;,'Table'),'Product','$(vproduct)'),'DB','$(vDB)');&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Your peek are always looking at the same row, row 0. Maybe you need to use the variable i here as you do for the other peek statements.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;let vSQL_Query= replace(replace(peek('sql_statement',&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;$(i)&lt;/FONT&gt;&lt;/STRONG&gt;,'Table'),'Product','$(vproduct)'),'DB','$(vDB)');&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I also notice that you loop is done on 'I' and not 'i' as expected in the peek statements. (But I assume that is just another spelling error)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 07:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884841#M72892</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-01-25T07:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Auto concatenate not working in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884982#M72898</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;It worked. Thanks a lot. &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 12:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Auto-concatenate-not-working-in-qlik-sense/m-p/1884982#M72898</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2022-01-25T12:07:40Z</dc:date>
    </item>
  </channel>
</rss>

