<?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: Table Not populating in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1613938#M445321</link>
    <description>&lt;P&gt;Only extra thing I have is the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are other posts in this area, so feel free to search yourself, just back the URL up to the Qlik-Design-Blog/ level and you can search from there.&amp;nbsp; If the poster above me was correct, please be sure to give them credit by using Accept as Solution button to mark the post...&lt;/P&gt;
&lt;P&gt;If you figured out something else, you can post that and mark it as the solution as well.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 15:42:56 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-08-19T15:42:56Z</dc:date>
    <item>
      <title>Table Not populating</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605704#M444710</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the following table:&lt;/P&gt;&lt;P&gt;FIRST_TABLE:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;PRODUCT_KEY,&lt;BR /&gt;COUNTRY,&lt;/P&gt;&lt;P&gt;STORE,&lt;BR /&gt;Date(MONTH, 'DD-MMM-YYYY') as MONTH,&lt;BR /&gt;num(AMOUNT) as AMOUNT,&lt;BR /&gt;'' as FLAG&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\sales_amount.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;I need to create a new table that has all the PRODUCT_KEYS ending in 'A' from FIRST_TABLE and the FLAG column will now be populated with '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Temp_AllCountries:&lt;BR /&gt;LOAD&lt;BR /&gt;Chr(39) &amp;amp; Concat(DISTINCT COUNTRY, Chr(39) &amp;amp; ',' &amp;amp; Chr(39)) &amp;amp; Chr(39) as ALL_COUNTRIES&lt;BR /&gt;resident FIRST_TABLE;&lt;/P&gt;&lt;P&gt;Let vAllCountries = FieldValue('ALL_COUNTRIES', 1);&lt;/P&gt;&lt;P&gt;DROP TABLE Temp_AllCountries;&lt;/P&gt;&lt;P&gt;for each vCountry in '$(vAllCountries)'&lt;/P&gt;&lt;P&gt;NEW_TABLE:&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;PRODUCT_KEY as Product_Key,&lt;BR /&gt;COUNTRY as Country,&lt;/P&gt;&lt;P&gt;STORE as Store,&lt;BR /&gt;Date(MONTH, 'DD-MMM-YYYY') as Month,&lt;BR /&gt;num(AMOUNT) as Amount,&lt;BR /&gt;1 as Flag&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;resident FIRST_TABLE&lt;BR /&gt;where right(PRODUCT_KEY, 1) = 'A'&lt;BR /&gt;and COUNTRY = '$(vCountry)';&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;so my problem is that NEW_TABLE isn't populating.&amp;nbsp; any ideas why?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605704#M444710</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2024-11-16T02:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Not populating</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605708#M444711</link>
      <description>&lt;P&gt;Which errors do you see when debugging the script? Do the variables populate correctly and loop through every possible value?&lt;/P&gt;
&lt;P&gt;What if you do the load manually to make sure that filters in WHERE apply correctly?&lt;/P&gt;
&lt;P&gt;That code looks very familiar, did you check for missing quotes, commas, etc.?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605708#M444711</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2019-07-24T14:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table Not populating</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605714#M444712</link>
      <description>&lt;P&gt;there are no errors, and the variable populates correctly. i can also confirm the WHERE clause works aswell.&amp;nbsp; i assumed the loop was the problem? im very new to QlikView so i cant see what it is Ive done wrong&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605714#M444712</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2019-07-24T14:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Not populating</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605715#M444713</link>
      <description>&lt;P&gt;Try cleaning spaces at the end of product_key in your where clause. Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;resident FIRST_TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where right(rtrim(PRODUCT_KEY), 1) = 'A'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and COUNTRY = '$(vCountry)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1605715#M444713</guid>
      <dc:creator>pepecc</dc:creator>
      <dc:date>2019-07-24T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table Not populating</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1613938#M445321</link>
      <description>&lt;P&gt;Only extra thing I have is the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are other posts in this area, so feel free to search yourself, just back the URL up to the Qlik-Design-Blog/ level and you can search from there.&amp;nbsp; If the poster above me was correct, please be sure to give them credit by using Accept as Solution button to mark the post...&lt;/P&gt;
&lt;P&gt;If you figured out something else, you can post that and mark it as the solution as well.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 15:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Not-populating/m-p/1613938#M445321</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-19T15:42:56Z</dc:date>
    </item>
  </channel>
</rss>

