<?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: Issue with running consecutive Autonumber() for rank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119952#M369260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for elaborating.&lt;/P&gt;&lt;P&gt;But as I mentioned, I dropped the tables before I ran the second AutoNumber() script.&lt;/P&gt;&lt;P&gt;So this is very strange and unexpected..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2016 08:59:56 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2016-08-31T08:59:56Z</dc:date>
    <item>
      <title>Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119948#M369256</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 am trying to use autonumber for ranking two different scores. Since I had an issue where rank numbers were missing,&lt;/P&gt;&lt;P&gt;I divided the scripts in 2 parts.&lt;/P&gt;&lt;P&gt;When commenting one of them the rank is fine.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RANK_1.png" class="jive-image image-1" height="155" src="https://community.qlik.com/legacyfs/online/136093_RANK_1.png" style="height: 154.347px; width: 384px;" width="385" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when executing the two scripts in a row, even if tables are dropped, some ranks are missing:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RANK_2.png" class="jive-image image-2" height="185" src="https://community.qlik.com/legacyfs/online/136095_RANK_2.png" style="height: 185.647px; width: 441px;" width="441" /&gt; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It looks like the autonumber is ranking values from the two scripts even though tables are deleted.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RANK_3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/136096_RANK_3.png" style="height: 155px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Attached is the model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will appreciate some guidelines for resolving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119948#M369256</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2016-08-31T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119949#M369257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try running with these changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RankScore7:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Key_Qtr_ParamId_7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_ParamOrder, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_Score_7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(SIM_Score_7, Key_Qtr_ParamId_7&lt;SPAN style="color: #ff0000;"&gt;&amp;amp;'AutoNumber1'&lt;/SPAN&gt;) as SIM_Rank_Score_7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident SIM_Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Key_Qtr_ParamId_7, SIM_Score_7 desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RankScore6_7:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Key_Qtr_ParamId_6_7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_ParamOrder,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_Scores_6_7, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(SIM_Scores_6_7, Key_Qtr_ParamId_6_7&lt;SPAN style="color: #ff0000;"&gt;&amp;amp;'AutoNumber2'&lt;/SPAN&gt;) as SIM_Rank_Score_6_7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident SIM_Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Key_Qtr_ParamId_6_7, SIM_Scores_6_7 desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119949#M369257</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-31T08:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119950#M369258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As usual, you solved the problem... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Can you please explain this strange&amp;nbsp; behavior?&lt;/P&gt;&lt;P&gt;It is not a very intuitive solution. Is there a bug with this function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119950#M369258</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2016-08-31T08:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119951#M369259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult to explain, but the second parameter is an id which needs to be distinct for each distinct autonumber list that you are trying to create. But the issue in your case was that if the value of &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Key_Qtr_ParamId_6_7 &lt;/STRONG&gt; and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Key_Qtr_ParamId_7&lt;/STRONG&gt; are same the AutoNumber will assume it to be the part of same list. In order to differentiate them, I added a text field which would always make them different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119951#M369259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-31T08:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119952#M369260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for elaborating.&lt;/P&gt;&lt;P&gt;But as I mentioned, I dropped the tables before I ran the second AutoNumber() script.&lt;/P&gt;&lt;P&gt;So this is very strange and unexpected..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 08:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119952#M369260</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2016-08-31T08:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119953#M369261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that matters, during a single reload a single id will always create a continuous list of numbers even if they come from different tables or if one of the tables get dropped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 09:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119953#M369261</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-31T09:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119954#M369262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...&lt;/P&gt;&lt;P&gt;Some things you learn only the hard way... I sure will remember that lesson &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&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>Wed, 31 Aug 2016 09:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1119954#M369262</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2016-08-31T09:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with running consecutive Autonumber() for rank</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1792410#M1210804</link>
      <description>&lt;P&gt;I got the same issues and been struggled till found out this post, thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 06:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-running-consecutive-Autonumber-for-rank/m-p/1792410#M1210804</guid>
      <dc:creator>thi_pham</dc:creator>
      <dc:date>2021-03-18T06:13:41Z</dc:date>
    </item>
  </channel>
</rss>

