<?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 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810536#M66040</link>
    <description>&lt;P&gt;The recommended method to autonumber keys is to use AutoNumber statement at the end of your script.&amp;nbsp; This is much faster than any of the AutoNumber() functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;AutoNumber myKeyField;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 22:51:52 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-05-25T22:51:52Z</dc:date>
    <item>
      <title>Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810442#M66037</link>
      <description>&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;Appreciate your time. Looking for an information regarding autonumbers.,my app is around 20GB which has a lot of keys.,now I am trying to replace some of the keys with autonumbers and see reduction in app size. My question is which is the best to get used between Autonumber,Autonumber128 and 256.,is there any recommendation with respect to size reduction.,looking forward to hearing from you.,&lt;/P&gt;&lt;P&gt;thanks a lot!&lt;/P&gt;&lt;P&gt;Kiruthiga&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 17:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810442#M66037</guid>
      <dc:creator>SKiruthiga</dc:creator>
      <dc:date>2021-05-25T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810458#M66038</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142353"&gt;@SKiruthiga&lt;/a&gt;&amp;nbsp;, one thing is check your source data, this is important to choose the proper function.&lt;/P&gt;&lt;P&gt;Please check the related help :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/autonumber.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/CounterFunctions/autonumber.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can only connect&amp;nbsp;autonumber&amp;nbsp;keys that have been generated in the same data load, as the integer is generated according to the order the table is read. If you need to use keys that are persistent between data loads, independent of source data sorting, you should use the&amp;nbsp;hash128,&amp;nbsp;hash160&amp;nbsp;or&amp;nbsp;hash256&amp;nbsp;functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810458#M66038</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2021-05-25T18:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810536#M66040</link>
      <description>&lt;P&gt;The recommended method to autonumber keys is to use AutoNumber statement at the end of your script.&amp;nbsp; This is much faster than any of the AutoNumber() functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;AutoNumber myKeyField;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 22:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1810536#M66040</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-05-25T22:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1811852#M66216</link>
      <description>&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;Thank you,but unfortunately the app size is not reducing a much with both Autonumber funtion/Autonumber statement at the end of script.&lt;/P&gt;&lt;P&gt;for eg, My app size with out auto number :&amp;nbsp;&lt;SPAN&gt;19394.53 MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;with autonumber function: 19192.75 MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;with autonumber statement: 19046.97 MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any other approach you could recommend to reduce the app size? I am running behind for a solution.,thank you so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kiruthiga&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1811852#M66216</guid>
      <dc:creator>SKiruthiga</dc:creator>
      <dc:date>2021-05-31T14:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1811860#M66217</link>
      <description>&lt;P&gt;Use QS Document Analyzer to identify unused fields and then drop those fields from the model .&lt;/P&gt;&lt;P&gt;&lt;A href="https://easyqlik.com/qsda/" target="_blank"&gt;https://easyqlik.com/qsda/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 15:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/1811860#M66217</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-05-31T15:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539521#M109078</link>
      <description>&lt;P&gt;This one comment saved me few times already. It is not well documented officially (or I struggle to find it) how to use AutoNumer outside of LOAD statements. Thanks Rob!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 11:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539521#M109078</guid>
      <dc:creator>AnthonyM</dc:creator>
      <dc:date>2025-12-18T11:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539540#M109083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142353"&gt;@SKiruthiga&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;which solution did you find for your case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 13:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539540#M109083</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2025-12-18T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539568#M109089</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/163435"&gt;@AnthonyM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This is how you can use AutoNumber outside your Load Statement:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[us-cities-reduced]:
LOAD
    // Key fields
    id AS %CityId,

    // Regular fields
    name,
    state
FROM
	[lib://IPC DevOps:DataFiles/us-cities-reduced.qvd](qvd)
;

[us-cities-zip-codes]:
LOAD
    // Key fields
    id AS %CityId,

    // Regular fields
    zip_code
FROM
	[lib://IPC DevOps:DataFiles/us-cities-zip-codes.qvd](qvd)
;

Autonumber '%*';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create any naming convention for your key fields. In my example, I'm saying that all my key fields start with &lt;STRONG&gt;%&lt;/STRONG&gt; and ends with whatever else, that is why the &lt;STRONG&gt;'%*'&lt;/STRONG&gt;. You could say, for example, my key fields start with&amp;nbsp;&lt;STRONG&gt;@&lt;/STRONG&gt; and ends with &lt;STRONG&gt;Key&lt;/STRONG&gt;. In this case will &lt;EM&gt;AutoNumber &lt;/EM&gt;&lt;STRONG&gt;'@*Key'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Autonumber.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Autonumber.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 16:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539568#M109089</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-12-18T16:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539580#M109091</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;, that was more than I was hoping for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 18:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539580#M109091</guid>
      <dc:creator>AnthonyM</dc:creator>
      <dc:date>2025-12-18T18:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539609#M109093</link>
      <description>&lt;P&gt;I also endorse the use of autonumber at the end of script.&lt;/P&gt;&lt;P&gt;It is fast to implement, it executes fast (does not break any optimised loads from QVD), and it is easy to turn it on/off for troubleshooting purposes (either by en exit script just before or a simple line comment)&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 05:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539609#M109093</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-12-19T05:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber</title>
      <link>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539623#M109095</link>
      <description>&lt;P&gt;Very clear and useful explanation, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 07:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Autonumber/m-p/2539623#M109095</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2025-12-19T07:49:05Z</dc:date>
    </item>
  </channel>
</rss>

