<?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: autonumber rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55427#M609244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes of course I read carefully what you suggested. I talk about rowno() only because rowno() is different on every line. and referering to the syntax, Autonumber created a unique integer for every value etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't understand why it is restarting the counting using Rowno() and ID.. as long as every values evaluated on every line is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Autonumber(1,1)&lt;/P&gt;&lt;P&gt;Autonumber(2,1)&lt;/P&gt;&lt;P&gt;Autonumber(3,1)&lt;/P&gt;&lt;P&gt;Autonumber(4,2)&lt;/P&gt;&lt;P&gt;Autonumber(5,2)&lt;/P&gt;&lt;P&gt;Autonumber(6,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 14:54:42 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-02-20T14:54:42Z</dc:date>
    <item>
      <title>autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55422#M609239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mark&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Germany&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Chris&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need a table like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Key&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mark&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Germany&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Chris&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this in script??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55422#M609239</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2018-02-20T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55423#M609240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(RowNo(), ID) as Key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55423#M609240</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-20T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55424#M609241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick answer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55424#M609241</guid>
      <dc:creator>wunderch</dc:creator>
      <dc:date>2018-02-20T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55425#M609242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autonumber is not supposed to create unique integer value for each distinct evaluated value ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here on every line there is new rowno() number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain how it works please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55425#M609242</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-20T14:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55426#M609243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not just using RowNo(), but AutoNumber on top of RowNo() which will restart counting based on different IDs. Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55426#M609243</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-20T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55427#M609244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes of course I read carefully what you suggested. I talk about rowno() only because rowno() is different on every line. and referering to the syntax, Autonumber created a unique integer for every value etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't understand why it is restarting the counting using Rowno() and ID.. as long as every values evaluated on every line is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Autonumber(1,1)&lt;/P&gt;&lt;P&gt;Autonumber(2,1)&lt;/P&gt;&lt;P&gt;Autonumber(3,1)&lt;/P&gt;&lt;P&gt;Autonumber(4,2)&lt;/P&gt;&lt;P&gt;Autonumber(5,2)&lt;/P&gt;&lt;P&gt;Autonumber(6,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55427#M609244</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-20T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55428#M609245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you understand the use of the second parameter within the AutoNumber function, right? As long as the second parameter is the same in the AutoNumber it will create a continuous number, but once changed it restart the counting from 1. Autonumber will work like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(1,1) = 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(2,1) = 2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(3,1) = 3&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(4,2) = 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(5,2) = 2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Autonumber(6,2) = 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55428#M609245</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-20T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber rows</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55429#M609246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I didn't know about it.. for this one I only read the help and i didn't notice the AutoID part (which is the second parameter you're talking about).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 15:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber-rows/m-p/55429#M609246</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-20T15:07:25Z</dc:date>
    </item>
  </channel>
</rss>

