<?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 Loop in database structure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-in-database-structure/m-p/197666#M57239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;MappingTable:&lt;BR /&gt;MAPPING LOAD&lt;BR /&gt; SourceSystemID&lt;BR /&gt;,SourceSystem&lt;BR /&gt;...&lt;BR /&gt;;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Feed2:&lt;BR /&gt;LOAD&lt;BR /&gt;...&lt;BR /&gt;,SourceSystemID&lt;BR /&gt;,applymap('MappingTable',SourceSystemID) as SourceSystem&lt;BR /&gt;...&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 22:55:01 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-06-22T22:55:01Z</dc:date>
    <item>
      <title>Loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-in-database-structure/m-p/197665#M57238</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;I have a problem with a loop in my database structure. I have 2 data feeds and a mapping table:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feed 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Account&lt;/P&gt;&lt;P&gt;Currency&lt;/P&gt;&lt;P&gt;SourceSystem&lt;/P&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feed 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Account&lt;/P&gt;&lt;P&gt;Currency&lt;/P&gt;&lt;P&gt;SourceSystemID&lt;/P&gt;&lt;P&gt;Balance&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SourceSystem&lt;/P&gt;&lt;P&gt;SourceSystemID&lt;/P&gt;&lt;P&gt;Rather confusingly, there are many SourceSystemID's to one SourceSystem.&lt;/P&gt;&lt;P&gt;This structure creates a synthetic key consisting of Account and Currency, and also creates links via the mapping table for SourceSystem to SourceSystemID - and hence a loop.&lt;/P&gt;&lt;P&gt;I guess to get rid of the loop I need to do some sort of lookup on the mapping table when I load &lt;STRONG&gt;Feed2&lt;/STRONG&gt; so that I can add SourceSystem to that set of data and thereby create a synthetic key consisting of Account, Currency and SourceSystem.&lt;/P&gt;&lt;P&gt;Any ideas on how I do this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 17:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-in-database-structure/m-p/197665#M57238</guid>
      <dc:creator />
      <dc:date>2010-06-22T17:28:46Z</dc:date>
    </item>
    <item>
      <title>Loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-in-database-structure/m-p/197666#M57239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;MappingTable:&lt;BR /&gt;MAPPING LOAD&lt;BR /&gt; SourceSystemID&lt;BR /&gt;,SourceSystem&lt;BR /&gt;...&lt;BR /&gt;;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Feed2:&lt;BR /&gt;LOAD&lt;BR /&gt;...&lt;BR /&gt;,SourceSystemID&lt;BR /&gt;,applymap('MappingTable',SourceSystemID) as SourceSystem&lt;BR /&gt;...&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 22:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-in-database-structure/m-p/197666#M57239</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-22T22:55:01Z</dc:date>
    </item>
  </channel>
</rss>

