<?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: How to create a column with an auto-increment integer value? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458138#M796023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your report is limited to 100 rows go for it. Performance hit would be negligible. Use RowNo(), in a preceding load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as RowID;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;From Your_DB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/r,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jan 2018 17:07:52 GMT</pubDate>
    <dc:creator>johnca</dc:creator>
    <dc:date>2018-01-03T17:07:52Z</dc:date>
    <item>
      <title>How to create a column with an auto-increment integer value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458134#M796019</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 have a very basic Table Box that is pulling data from different tables within SQL server. I am wanting to append a column to the front of the Table Box with a column that holds an integer value that increments by 1 with every row (like an auto increment identity field in SQL server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one advise how is best to go about this? I would prefer to add this as a column to the data in SQL Server but unfortunately this is not a possibility due to various limitations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies - very new to Qlik so bare with me, please try to be as descriptive as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Damon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458134#M796019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with an auto-increment integer value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458135#M796020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create such a record-counter with recno() or rowno() which is counting the source- respectively the input-records, maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *, rowno() as RowNo;&lt;/P&gt;&lt;P&gt;sql select * from YourSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;: Please be aware that this is only useful within a developing-step by checking the data-quality and something like that. Within a final application such record-id's could have a serious impact on the performance and should therefore&lt;STRONG&gt; &lt;/STRONG&gt;be&lt;STRONG&gt; &lt;/STRONG&gt;removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 16:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458135#M796020</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-03T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with an auto-increment integer value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458136#M796021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply - so effectively, QlikView does not support having a column of IDs that increment for each row added? The report will be limited to 100 rows - would this affect performance as much as you suggest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was really hoping it would be possible - if not - I may just have to join all the data in to a view (if possible) and have an ID field on this instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Damon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 16:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458136#M796021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T16:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with an auto-increment integer value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458137#M796022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need a record-id on the data-side then see my suggestion above. If you want to count certain field-values you could use autonumber() for it. If it should be only within a table-chart within the gui you could add a rowno() there as expression or calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 17:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458137#M796022</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-01-03T17:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a column with an auto-increment integer value?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458138#M796023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your report is limited to 100 rows go for it. Performance hit would be negligible. Use RowNo(), in a preceding load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() as RowID;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;From Your_DB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/r,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 17:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-column-with-an-auto-increment-integer-value/m-p/1458138#M796023</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2018-01-03T17:07:52Z</dc:date>
    </item>
  </channel>
</rss>

