<?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: Loop question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395048#M147359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so that there is this circular reference is necessary to create two tables of agents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent problems with ocorrea the fields in this table, you can enter an alias for fields eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgentStats:&lt;/P&gt;&lt;P&gt;AgentStas_date_skey&lt;/P&gt;&lt;P&gt;AgentStas_agent_skey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgentReservation:&lt;/P&gt;&lt;P&gt;AgentReservation_rev_agent_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 17:28:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T17:28:33Z</dc:date>
    <item>
      <title>Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395043#M147354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following loop in my data model. Any thoughts on how I can avoid the loop as am getting incorrect results? Thanks in advance!&lt;IMG alt="Untitled.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/34079_Untitled.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395043#M147354</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395044#M147355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To solve this problem you need create two tables AGENT one for Reservation and other to agent_stats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to eliminate the table "Agent".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395044#M147355</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395045#M147356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Which one should I use in my reports? Can you please provide more details? Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395045#M147356</guid>
      <dc:creator />
      <dc:date>2013-02-28T16:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395046#M147357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you can post your file script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically you need to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time_key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reservation_date_skey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date_skey&lt;/P&gt;&lt;P&gt;FROM YOUR_TABLE_DATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reservations:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reservation_date_skey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rev_agent_&lt;/P&gt;&lt;P&gt;FROM YOUR_TABLE_RESERVATION;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AgentReservation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rev_agent_&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Agent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EmailStats:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time_key&lt;/P&gt;&lt;P&gt;FROM YOUR_TABLE_EmailStats;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgentStats:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date_skey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agent_skey&lt;/P&gt;&lt;P&gt;FROM YOUR_TABLE_AGENTSTATS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JOIN(AgentStats)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agent_skey&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Agent;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 17:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395046#M147357</guid>
      <dc:creator />
      <dc:date>2013-02-28T17:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395047#M147358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thansk again, but what am asking is, i'll end up with two agents in the model. When reporting, do I need to be careful on which one I should use? The agent table has 8 more columns that I dind't include in the picture as am not allowed. Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 17:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395047#M147358</guid>
      <dc:creator />
      <dc:date>2013-02-28T17:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395048#M147359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so that there is this circular reference is necessary to create two tables of agents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To prevent problems with ocorrea the fields in this table, you can enter an alias for fields eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgentStats:&lt;/P&gt;&lt;P&gt;AgentStas_date_skey&lt;/P&gt;&lt;P&gt;AgentStas_agent_skey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgentReservation:&lt;/P&gt;&lt;P&gt;AgentReservation_rev_agent_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 17:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395048#M147359</guid>
      <dc:creator />
      <dc:date>2013-02-28T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395049#M147360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think he is trying to use the same table to display table information and AgentStats AgentReservation, so just created this circular reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 17:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395049#M147360</guid>
      <dc:creator />
      <dc:date>2013-02-28T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loop question</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395050#M147361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I think you should create a master table which is just concatenation of all unique key combinationj from all required table. From there you need to give link the all your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 10:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-question/m-p/395050#M147361</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2013-03-01T10:41:22Z</dc:date>
    </item>
  </channel>
</rss>

