<?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: RecNo() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RecNo/m-p/854833#M994352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you need rowno - &lt;A href="https://community.qlik.com/qlik-blogpost/3896"&gt;RecNo or RowNo?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 18:51:54 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-06-30T18:51:54Z</dc:date>
    <item>
      <title>RecNo()</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo/m-p/854832#M994351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;I have the below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;usinessDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RecNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rowid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Group by %BusinessDate&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SMI_Collateral; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What I need to do is get unique days from the table and then assign an id so &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;1 01 jab 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;2 02 jan 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Unfortunately, it duplicates the data, I need something a group by. I know I can do it i first get the unique date and then second step do the insertion into second temp table but should be way just to get the unique values with an incremental id next?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo/m-p/854832#M994351</guid>
      <dc:creator />
      <dc:date>2015-06-30T18:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo()</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo/m-p/854833#M994352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you need rowno - &lt;A href="https://community.qlik.com/qlik-blogpost/3896"&gt;RecNo or RowNo?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo/m-p/854833#M994352</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-30T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo()</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo/m-p/854834#M994353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try RowNo. Or, depending on where your data is coming from in the first place you could use IDENTITY(1,1) in a SQL SELECT to get similar functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo/m-p/854834#M994353</guid>
      <dc:creator>TKendrick20</dc:creator>
      <dc:date>2015-06-30T19:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: RecNo()</title>
      <link>https://community.qlik.com/t5/QlikView/RecNo/m-p/854835#M994354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you should use Autonumber()... See &lt;A href="https://community.qlik.com/qlik-blogpost/3292"&gt;Counters in the Load&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RecNo/m-p/854835#M994354</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-30T19:08:42Z</dc:date>
    </item>
  </channel>
</rss>

