<?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 Counting order rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294450#M1200519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;count(all &amp;lt;OrderNo&amp;gt; OrderLine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;It will not be affected from a selection of a single order line. (However, it will be affected from the selection of an Order No, and will show of the number of rows of the selected Order)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Montal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Dec 2010 14:22:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-16T14:22:44Z</dc:date>
    <item>
      <title>Counting order rows</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294449#M1200518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I need to know how many orderlines is in one order.&lt;/P&gt;&lt;P&gt;I have a table with orderlines. and need to know on each line how many lines there is in total in that order. regardless if just one orderline is selected.&lt;/P&gt;&lt;P&gt;My table has theese fields:&lt;/P&gt;&lt;P&gt;ordernumber, orderline number, totalorderfreight, linesum, quantity, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to aggregate over ordernumber and count ordernumber, but that does not work.&lt;/P&gt;&lt;P&gt;( aggr(count(orderline), ordernr) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294449#M1200518</guid>
      <dc:creator />
      <dc:date>2010-12-16T13:39:31Z</dc:date>
    </item>
    <item>
      <title>Counting order rows</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294450#M1200519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;count(all &amp;lt;OrderNo&amp;gt; OrderLine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;It will not be affected from a selection of a single order line. (However, it will be affected from the selection of an Order No, and will show of the number of rows of the selected Order)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Montal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 14:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294450#M1200519</guid>
      <dc:creator />
      <dc:date>2010-12-16T14:22:44Z</dc:date>
    </item>
    <item>
      <title>Counting order rows</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294451#M1200520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;count({1&amp;lt;OrderNo = {$(=only(OrderNo))}&amp;gt;} total OrderLine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 15:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-order-rows/m-p/294451#M1200520</guid>
      <dc:creator />
      <dc:date>2010-12-16T15:02:59Z</dc:date>
    </item>
  </channel>
</rss>

