<?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: ROW_NUMBER() OVER PARTITION BY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1734270#M721603</link>
    <description>&lt;P&gt;Thanks Peter, it worked.&lt;/P&gt;&lt;P&gt;You are the best. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Aug 2020 04:17:26 GMT</pubDate>
    <dc:creator>harson</dc:creator>
    <dc:date>2020-08-08T04:17:26Z</dc:date>
    <item>
      <title>ROW_NUMBER() OVER PARTITION BY</title>
      <link>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1733998#M721601</link>
      <description>&lt;P&gt;Can someone help me to have this query in QlikView.&lt;/P&gt;&lt;P&gt;In T-SQL :&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;SELECT&lt;/FONT&gt; &lt;FONT color="#FF00FF"&gt;ROW_NUMBER()&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;OVER&lt;/FONT&gt;(&lt;FONT color="#0000FF"&gt;PARTITION BY&lt;/FONT&gt; ID &lt;FONT color="#0000FF"&gt;ORDER BY&lt;/FONT&gt; ActionTime) &lt;FONT color="#0000FF"&gt;as&lt;/FONT&gt; Attempt,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ActionTime&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#0000FF"&gt;FROM&lt;/FONT&gt; [dbo].[TestTable]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harson_0-1596785425945.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38668iAC20055E6C1226C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="harson_0-1596785425945.png" alt="harson_0-1596785425945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The idea is to have an attempt number for each ID, ordered automatically according to the ActionTime column.&lt;/P&gt;&lt;P&gt;Thanks already for your precious help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1733998#M721601</guid>
      <dc:creator>harson</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: ROW_NUMBER() OVER PARTITION BY</title>
      <link>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1734035#M721602</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I attached my solution. I hope this helps.&lt;/P&gt;&lt;P&gt;Maybe there is a better solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 09:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1734035#M721602</guid>
      <dc:creator>peterwh</dc:creator>
      <dc:date>2020-08-07T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: ROW_NUMBER() OVER PARTITION BY</title>
      <link>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1734270#M721603</link>
      <description>&lt;P&gt;Thanks Peter, it worked.&lt;/P&gt;&lt;P&gt;You are the best. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 04:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ROW-NUMBER-OVER-PARTITION-BY/m-p/1734270#M721603</guid>
      <dc:creator>harson</dc:creator>
      <dc:date>2020-08-08T04:17:26Z</dc:date>
    </item>
  </channel>
</rss>

