<?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: Inverting AutoNumber in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535109#M690438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fredrik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AutoNumber() fonction will create it's associated numeric values according to the order in which the different values of the expression received as a parameter are met. Simply preorder the data using a preceding load in the desired manner (latest vs oldest submission), and you shall have the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 14:55:28 GMT</pubDate>
    <dc:creator>pgrenier</dc:creator>
    <dc:date>2013-10-09T14:55:28Z</dc:date>
    <item>
      <title>Inverting AutoNumber</title>
      <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535107#M690436</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 want to invert the AutoNumber function. I have a list of forecast submissions where I want the latest submission date to be nr 1 and the oldest to be the highest number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is now it is giving the latest submission date the highest number and the oldest nr 1. How do I write in the script to invert the numbering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535107#M690436</guid>
      <dc:creator />
      <dc:date>2013-10-09T14:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Inverting AutoNumber</title>
      <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535108#M690437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fredrik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do it in several steps, without the AutoNumber() function:&lt;/P&gt;&lt;P&gt;- Sort the table by submission_date in desc. order (to have the latest date on top)&lt;/P&gt;&lt;P&gt;- Create a recordno() field to number the records&lt;/P&gt;&lt;P&gt;=&amp;gt; You can still use AutoNumber() if you want, but the recordno() should do as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&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, 09 Oct 2013 14:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535108#M690437</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-10-09T14:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inverting AutoNumber</title>
      <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535109#M690438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fredrik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AutoNumber() fonction will create it's associated numeric values according to the order in which the different values of the expression received as a parameter are met. Simply preorder the data using a preceding load in the desired manner (latest vs oldest submission), and you shall have the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535109#M690438</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2013-10-09T14:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inverting AutoNumber</title>
      <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535110#M690439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fredrik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10000000 - AutoNumber(..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max. value depending on amount of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535110#M690439</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inverting AutoNumber</title>
      <link>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535111#M690440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be with the help Order By in descending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubmissionDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(FieldName) As FieldAutonumber&lt;/P&gt;&lt;P&gt;From Source&lt;/P&gt;&lt;P&gt;Order By SubmissionDate Desc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inverting-AutoNumber/m-p/535111#M690440</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-09T15:13:35Z</dc:date>
    </item>
  </channel>
</rss>

