<?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: Need a Help to Resolve Circular Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535903#M746772</link>
    <description>&lt;P&gt;You can use an OnSelect field event triggers:&lt;/P&gt;&lt;P&gt;For the Month Field, add the action to Select in Field:&amp;nbsp;&lt;SPAN&gt;Issue Month value equals Month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create the save trigger for the Month field value equals Issue Month&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 12:46:10 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2019-01-28T12:46:10Z</dc:date>
    <item>
      <title>Need a Help to Resolve Circular Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535556#M746771</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Folks,&lt;/P&gt;&lt;P&gt;Need your help to resolve circular loop. I am having 3 tables&lt;/P&gt;&lt;P&gt;1 Daily Table&lt;/P&gt;&lt;P&gt;2 Segment Table&lt;/P&gt;&lt;P&gt;3 Budget Table&lt;/P&gt;&lt;P&gt;here is the code&lt;/P&gt;&lt;P&gt;Daily:&lt;BR /&gt;LOAD [Agent No],&lt;BR /&gt;[Issue Date],&lt;BR /&gt;Month([Issue Date]) as [Issue Month]&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\Home\Desktop\Test_Date.xls&lt;BR /&gt;(biff, embedded labels, table is [Daily$]);&lt;/P&gt;&lt;P&gt;Segment:&lt;BR /&gt;LOAD Segment,&lt;BR /&gt;[Agent No]&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\Home\Desktop\Test_Date.xls&lt;BR /&gt;(biff, embedded labels, table is [Segment$]);&lt;/P&gt;&lt;P&gt;Budget:&lt;BR /&gt;LOAD Segment,&lt;BR /&gt;Budget,&lt;BR /&gt;Month&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\Home\Desktop\Test_Date.xls&lt;BR /&gt;(biff, embedded labels, table is [Budget$]);&lt;/P&gt;&lt;P&gt;&amp;nbsp;In Daily file&amp;nbsp; we have Month &amp;amp; in Budget also we have Month. So my requirement is when ever there is [Issue Month] got selected then same month should select in Month in Budget table.&lt;/P&gt;&lt;P&gt;For example if&amp;nbsp; i select Jan Month in Daily Table then Same value should get select in Month(Value is Jan) in Budget&amp;nbsp;&lt;SPAN&gt;Table. Could you please find attached sample qvw and sample data and Please help to resolve this Issue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daily table has Date and&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535556#M746771</guid>
      <dc:creator>SatyaPaleti</dc:creator>
      <dc:date>2024-11-16T21:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Help to Resolve Circular Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535903#M746772</link>
      <description>&lt;P&gt;You can use an OnSelect field event triggers:&lt;/P&gt;&lt;P&gt;For the Month Field, add the action to Select in Field:&amp;nbsp;&lt;SPAN&gt;Issue Month value equals Month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create the save trigger for the Month field value equals Issue Month&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535903#M746772</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-01-28T12:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Help to Resolve Circular Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535912#M746773</link>
      <description>&lt;P&gt;Seems like one agent has only one segment, in which case I would left join the segment table to the Daily table and then make a composite key to join to budget.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TMP:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD [Agent No],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Issue Date],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Month([Issue Date]) as [Issue Month]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM &lt;/EM&gt;&lt;EM&gt;C:\Users\Home\Desktop\Test_Date.xls&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(biff, embedded labels, table is [Daily$]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (TMP)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD Segment,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Agent No]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM C:\Users\Home\Desktop\Test_Date.xls&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(biff, embedded labels, table is [Segment$]);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;You should now have a table (TMP) with following fields:&lt;/P&gt;&lt;P&gt;Agent No;&amp;nbsp; Issue Date;&amp;nbsp; Issue Month;&amp;nbsp; Segment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We now create a new copy of the table with a composite key:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DAILY:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *, Autonumber(Segment &amp;amp; Month) AS Key1 RESIDENT TMP;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLE TMP;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And finally, load the budget table, but only load the Segment &amp;amp; Month as a key, not as fields:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Budget:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Budget, Autonumber(Segment &amp;amp; Month) AS Key1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM BudgetTableFile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Solution won't work if you have multiple segments per agent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Help-to-Resolve-Circular-Loop/m-p/1535912#M746773</guid>
      <dc:creator>nwest1965</dc:creator>
      <dc:date>2019-01-28T12:55:30Z</dc:date>
    </item>
  </channel>
</rss>

