<?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 Problem in the script? Says Loop formation..!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292428#M1193592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted the following script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearsInService:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Start_Range, End_Range, YearsInService&lt;/P&gt;&lt;P&gt;0, 1, less than 1&lt;/P&gt;&lt;P&gt;1, 2, 1-2&lt;/P&gt;&lt;P&gt;3, 4, 3-4&lt;/P&gt;&lt;P&gt;5, 6, 5-6&lt;/P&gt;&lt;P&gt;7, 8, 7-8&lt;/P&gt;&lt;P&gt;9, 10, 9-10&lt;/P&gt;&lt;P&gt;10, 25, 10 above&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;IntervalMatch([Yrs Service (Svc Dt)]) Load Start_Range, End_Range Resident YearsInService;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it says the that after running the script the above script you have loops, so this won't work fine. The reason may be because, I used another interval in my script as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgeRange:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Start_Range, End_Range, AgeRange&lt;/P&gt;&lt;P&gt;21, 25, 21-25&lt;/P&gt;&lt;P&gt;26, 30, 26-30&lt;/P&gt;&lt;P&gt;31, 35, 31-35&lt;/P&gt;&lt;P&gt;36, 40, 36-40&lt;/P&gt;&lt;P&gt;41, 45, 41-45&lt;/P&gt;&lt;P&gt;46, 50, 46-50&lt;/P&gt;&lt;P&gt;50, 80, 50 above&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch([Age]) Load Start_Range, End_Range Resident AgeRange;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thats why it says that there is a loop formation and therefore it shows synthetic keys and the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to resolve this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 01:10:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-16T01:10:35Z</dc:date>
    <item>
      <title>Problem in the script? Says Loop formation..!!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292428#M1193592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted the following script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearsInService:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Start_Range, End_Range, YearsInService&lt;/P&gt;&lt;P&gt;0, 1, less than 1&lt;/P&gt;&lt;P&gt;1, 2, 1-2&lt;/P&gt;&lt;P&gt;3, 4, 3-4&lt;/P&gt;&lt;P&gt;5, 6, 5-6&lt;/P&gt;&lt;P&gt;7, 8, 7-8&lt;/P&gt;&lt;P&gt;9, 10, 9-10&lt;/P&gt;&lt;P&gt;10, 25, 10 above&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;IntervalMatch([Yrs Service (Svc Dt)]) Load Start_Range, End_Range Resident YearsInService;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it says the that after running the script the above script you have loops, so this won't work fine. The reason may be because, I used another interval in my script as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AgeRange:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Start_Range, End_Range, AgeRange&lt;/P&gt;&lt;P&gt;21, 25, 21-25&lt;/P&gt;&lt;P&gt;26, 30, 26-30&lt;/P&gt;&lt;P&gt;31, 35, 31-35&lt;/P&gt;&lt;P&gt;36, 40, 36-40&lt;/P&gt;&lt;P&gt;41, 45, 41-45&lt;/P&gt;&lt;P&gt;46, 50, 46-50&lt;/P&gt;&lt;P&gt;50, 80, 50 above&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Interval:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IntervalMatch([Age]) Load Start_Range, End_Range Resident AgeRange;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thats why it says that there is a loop formation and therefore it shows synthetic keys and the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to resolve this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 01:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292428#M1193592</guid>
      <dc:creator />
      <dc:date>2011-06-16T01:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in the script? Says Loop formation..!!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292429#M1193593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Your example won't work because, for example, QlikView will interpret&lt;/P&gt;&lt;P&gt;fields with the same name in different tables as being related to each&lt;/P&gt;&lt;P&gt;other e.g. it will link Start_Range in the YearsInService table with&lt;/P&gt;&lt;P&gt;Start_Range in AgeRange (even though you and I know they measure very&lt;/P&gt;&lt;P&gt;different things).  You need to name Start_Range and End_Range&lt;/P&gt;&lt;P&gt;differently between the tables e.g. Start_YearsInServiceRange,&lt;/P&gt;&lt;P&gt;End_YearsInServiceRange.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 01:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292429#M1193593</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2011-06-16T01:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in the script? Says Loop formation..!!</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292430#M1193594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the answer, I realized that I made some error in the script thats the reason I was getting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 16:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-the-script-Says-Loop-formation/m-p/292430#M1193594</guid>
      <dc:creator />
      <dc:date>2011-06-16T16:35:26Z</dc:date>
    </item>
  </channel>
</rss>

