<?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 Multiple Loops in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360403#M705273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi EM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need only to use the exists on the where clause.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load a // String&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;date(a,'FORMAT') as key&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;table2:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load b // Specific Date&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;b as key&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from...&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;where exists(key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pay attention to the date format, the key field should be in equal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 15:34:01 GMT</pubDate>
    <dc:creator>clisboa_noesis</dc:creator>
    <dc:date>2012-03-20T15:34:01Z</dc:date>
    <item>
      <title>Multiple Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360402#M705272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine that i load 2 tables and want to loop values from the first one in the second one, is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load a // String &lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;load b // Specific Date&lt;/P&gt;&lt;P&gt;from...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want for each value of a to get all of Data values in b &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to do something like to loops but dont know if is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 1 noofrows(table1)&lt;/P&gt;&lt;P&gt;for ii= 1 noofrows(table2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not lucky..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;EM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360402#M705272</guid>
      <dc:creator />
      <dc:date>2012-03-20T15:21:19Z</dc:date>
    </item>
    <item>
      <title>Multiple Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360403#M705273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi EM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need only to use the exists on the where clause.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load a // String&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;date(a,'FORMAT') as key&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;table2:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load b // Specific Date&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;b as key&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;from...&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;where exists(key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pay attention to the date format, the key field should be in equal format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360403#M705273</guid>
      <dc:creator>clisboa_noesis</dc:creator>
      <dc:date>2012-03-20T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Multiple Loops</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360404#M705274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case that i have,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/P&gt;&lt;P&gt;from..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine that i have one ID with 2 names and i want to load the first Name of each ID any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;EM &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 22:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loops/m-p/360404#M705274</guid>
      <dc:creator />
      <dc:date>2012-03-20T22:22:27Z</dc:date>
    </item>
  </channel>
</rss>

