<?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 Number rows in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176153#M44272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's easy with a pivot; add sum(1) as an expression and set full accumulation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 23:42:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-04T23:42:19Z</dc:date>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176151#M44270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been looking but cannot find it.&lt;/P&gt;&lt;P&gt;I have a table with a number of rows. Now I want to add a column in wich, from top to bottum, the ruwn are numbered (1 to ...). This is usefull when making for example a table to rank customers (based on turnover for example). Where is this option hidden?&lt;/P&gt;&lt;P&gt;(I did this before with an expression COUNT DISTINCT and then accumulation of this value ( a customer is unique), but with more than 1 dimension, this doesn't work).&lt;/P&gt;&lt;P&gt;Thx in advance,&lt;/P&gt;&lt;P&gt;Yves.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 22:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176151#M44270</guid>
      <dc:creator />
      <dc:date>2009-12-04T22:17:33Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176152#M44271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above may work (where Counter is the name of this expression):&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Above(TOTAL Counter), Above(TOTAL Counter) + 1, 1)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 23:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176152#M44271</guid>
      <dc:creator />
      <dc:date>2009-12-04T23:24:30Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176153#M44272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's easy with a pivot; add sum(1) as an expression and set full accumulation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 23:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176153#M44272</guid>
      <dc:creator />
      <dc:date>2009-12-04T23:42:19Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176154#M44273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even easier: 1 as the expression, full accumulation.&lt;/P&gt;&lt;P&gt;Edit: Never mind, somehow I glazed over the part where you had multiple dimensions. The default accumulation is only in the context of the current segment. So I'd do this, which is sort of a simplified version of NMiller's expression:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;rangesum(1,above(total Counter))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2009 00:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176154#M44273</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-05T00:12:44Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176155#M44274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;=rowno(TOTAL)&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2009 03:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176155#M44274</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-12-05T03:11:36Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176156#M44275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works, but then I cannot chose on wich column I sort my table. I need it sorted on an other value (descending)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 21:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176156#M44275</guid>
      <dc:creator />
      <dc:date>2009-12-07T21:28:10Z</dc:date>
    </item>
    <item>
      <title>Number rows in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176157#M44276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Organi wrote:Now I want to add a column in wich, from top to bottum, the ruwn are numbered (1 to ...)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Organi wrote:&lt;BR /&gt;This works, but then I cannot chose on wich column I sort my table. I need it sorted on an other value (descending)&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I'm confused as to exactly what you are trying to accomplish. Can you post an example?&lt;/P&gt;&lt;P&gt;If you want to rank by other than the sorting column, then try&lt;BR /&gt;=rank(TOTAL expression)&lt;/P&gt;&lt;P&gt;but I suspect this is not what you are asking for.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 02:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-rows-in-a-table/m-p/176157#M44276</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-12-08T02:11:24Z</dc:date>
    </item>
  </channel>
</rss>

