<?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 - very strange behaviour ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101084#M605259</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;just now I have found out what was the problem. I don't know how I missed that before ... the field is not generated in the loop, but only appended afterwards from a different dataset.&lt;/P&gt;&lt;P&gt;So the issue is solved.&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2018 13:54:41 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2018-07-18T13:54:41Z</dc:date>
    <item>
      <title>Loop - very strange behaviour ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101082#M605257</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;I have a most curious issue:&lt;/P&gt;&lt;P&gt;- There is a loop built based on a small table that doesn't change and that has six possible entries. Based on this, the DataModel generates six tables from one SAP table, each time a different part.&lt;/P&gt;&lt;P&gt;- The thing used to have only two "divisions" - one in which two of those six possible entries were queried (in an IF...THEN) and an ELSE;&lt;/P&gt;&lt;P&gt;-&amp;gt; All tables in the ELSE division (four out of six) had one common %KEY.&lt;/P&gt;&lt;P&gt;The thing is, this is unique for three out of those four - so for the fourth one I need a different key.&lt;/P&gt;&lt;P&gt;I did that and changed the alias so that in this division, there is no line with the fieldname "%KEY" anymore.&lt;/P&gt;&lt;P&gt;- Now there is an IF...THEN, an ELSEIF...THEN and an ELSE...&lt;/P&gt;&lt;P&gt;-&amp;gt; In the IF...THEN, two of those values are specified, in the ELSEIF...THEN one more and the remainder in the ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I expected now was that the tables in the ELSE part would get that field "%KEY" whereas the one in the ELSEIF would not as there is no line in that part of the loop specifying that fieldname&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Somehow that field "%KEY" was generated in that very table, along with the new keyfield so that I have a synthetic key now!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should not happen afaIK? Can somebody shed some light on this for me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101082#M605257</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2018-07-18T13:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loop - very strange behaviour ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101083#M605258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Firedrich,&lt;/P&gt;&lt;P&gt;can u provide some code so that we can know what u r exactly trying to do&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101083#M605258</guid>
      <dc:creator>vishus913</dc:creator>
      <dc:date>2018-07-18T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loop - very strange behaviour ...</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101084#M605259</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;just now I have found out what was the problem. I don't know how I missed that before ... the field is not generated in the loop, but only appended afterwards from a different dataset.&lt;/P&gt;&lt;P&gt;So the issue is solved.&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-very-strange-behaviour/m-p/101084#M605259</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2018-07-18T13:54:41Z</dc:date>
    </item>
  </channel>
</rss>

