<?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: auto number use cases clarification; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1954143#M1290217</link>
    <description>&lt;P&gt;Like Rob already mentioned it makes no sense to nest autonumber() multiple times and hints more for any mistakes by designing this application. The origin purpose is hard to guess - the most likely seems to be to create a counter for the frequency of the occurrence of the field-combination of&amp;nbsp;&lt;SPAN&gt;Pnumber &amp;amp; Prodnamecode&lt;/SPAN&gt;&amp;nbsp;and only the first one remains an the others are removed from the where-clause.&lt;/P&gt;
&lt;P&gt;You may just comment the condition to see the difference within the loaded data between both approaches ...&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 15:49:17 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2022-07-11T15:49:17Z</dc:date>
    <item>
      <title>auto number use cases clarification;</title>
      <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1952864#M1290208</link>
      <description>&lt;P&gt;&lt;SPAN&gt;t2:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pnumber,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; Prodnamecode,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;autonumber(Pnumber &amp;amp; Prodnamecode )as keynum&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;from t1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;order by date,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;t3:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load *,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;AutoNumber(RecNo(),Autonumber(Autonumber(AutoNumber(keynum)))) as keynum1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;resident t2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;t4:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load *&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;from t3&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where&amp;nbsp;keynum1=1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;order by date;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;drop table t1,t2,t3;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What is the where clause restriction here and use of autonumber here. can you explain more in detail&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1952864#M1290208</guid>
      <dc:creator>shanmathytitu</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: auto number use cases clarification;</title>
      <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1953001#M1290211</link>
      <description>&lt;P&gt;You have a nested AutoNumber() here that does not make sense to me, Can you explain what your objective is?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1953001#M1290211</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-07-07T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: auto number use cases clarification;</title>
      <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1953388#M1290215</link>
      <description>&lt;P&gt;I am looking into one dashboard which has this code. I am trying to understand what was the motive to restrict only&amp;nbsp;&lt;SPAN&gt;keynum1=1. Is that something for duplicate removal. I am not sure on that. i need someone help in understanding this multiple autonumber and its restriction.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 13:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1953388#M1290215</guid>
      <dc:creator>shanmathytitu</dc:creator>
      <dc:date>2022-07-08T13:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: auto number use cases clarification;</title>
      <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1954143#M1290217</link>
      <description>&lt;P&gt;Like Rob already mentioned it makes no sense to nest autonumber() multiple times and hints more for any mistakes by designing this application. The origin purpose is hard to guess - the most likely seems to be to create a counter for the frequency of the occurrence of the field-combination of&amp;nbsp;&lt;SPAN&gt;Pnumber &amp;amp; Prodnamecode&lt;/SPAN&gt;&amp;nbsp;and only the first one remains an the others are removed from the where-clause.&lt;/P&gt;
&lt;P&gt;You may just comment the condition to see the difference within the loaded data between both approaches ...&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 15:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1954143#M1290217</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-07-11T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: auto number use cases clarification;</title>
      <link>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1954209#M1290220</link>
      <description>&lt;P&gt;If you are trying to restrict the rows to the first occurrence of&amp;nbsp;&lt;SPAN&gt;Pnumber &amp;amp; Prodnamecode then you can simply do :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;T1:&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp; *&lt;BR /&gt;Where not Exists(keynum, keynum);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Load &lt;BR /&gt;&amp;nbsp; *,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; Hash128(Pnumber,&amp;nbsp; Prodnamecode )as keynum&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;from ...;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Drop Field keynum;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 17:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/auto-number-use-cases-clarification/m-p/1954209#M1290220</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-07-11T17:55:33Z</dc:date>
    </item>
  </channel>
</rss>

