<?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: Count Quantity for invoice in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092174#M363193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i still dont get it,&lt;/P&gt;&lt;P&gt;in the example i gave customer &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;100237 has 2(two invoices) that had only 1 item bought with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity of 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;not 1 as you have in your post or in the way &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;swuehl&amp;nbsp; was counting it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;so what am i missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 12:33:27 GMT</pubDate>
    <dc:creator>wizardo</dc:creator>
    <dc:date>2016-02-11T12:33:27Z</dc:date>
    <item>
      <title>Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092165#M363184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;need some help with aggregations:&lt;/P&gt;&lt;P&gt;I want to show a list of clients and to see how many invoices(just count) contained only one item, 2 items, 3 items and 4 according to quantity field.&lt;/P&gt;&lt;P&gt;this is my data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 350px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" height="20" width="79"&gt;CustomerId&lt;/TD&gt;&lt;TD align="left" width="79"&gt;InvoiceId&lt;/TD&gt;&lt;TD align="left" width="64"&gt;InvoiceLine&lt;/TD&gt;&lt;TD align="left" width="64"&gt;ItemId&lt;/TD&gt;&lt;TD align="left" width="64"&gt;Quantity&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;"&gt;01390082_INV&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;01390082_INV&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390083_INV&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390083_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390084_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390084_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;01390090_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;01390090_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390091_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390091_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390092_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390092_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390093_INV&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10281004&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;01390089_INV&lt;/TD&gt;&lt;TD align="left" class="xl68" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-top: none; border-left: none;"&gt;10692016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this what i am trying to get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="152" style="width: 491px; height: 143px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="100" style="text-align: center;" width="90"&gt;CustomerId&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="82"&gt;1 item for Invoice&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="77"&gt;2 items for Invoice&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="64"&gt;3 items for Invoice&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="78"&gt;4 items for Invoice&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="64"&gt;5 and more&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;100237&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;100083&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a head&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 13:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092165#M363184</guid>
      <dc:creator>dimak123</dc:creator>
      <dc:date>2016-01-28T13:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092166#M363185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CustomerId&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Aggr( Sum(Quantity),&amp;nbsp; InvoiceId)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count(DISTINCT InvoiceId)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a pivot table chart, you can pivot the second dimension to the top.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 20:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092166#M363185</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-28T20:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092167#M363186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to show only one dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 05:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092167#M363186</guid>
      <dc:creator>dimak123</dc:creator>
      <dc:date>2016-01-31T05:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092168#M363187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then use CustomerID as dimension and 5 expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;InvoiceId = {"=Sum(Quantity)=1"}&amp;gt;} DISTINCT InvoiceId)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;InvoiceId = {"=Sum(Quantity)=2"}&amp;gt;} DISTINCT InvoiceId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;InvoiceId = {"=Sum(Quantity)=3"}&amp;gt;} DISTINCT InvoiceId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;InvoiceId = {"=Sum(Quantity)=4"}&amp;gt;} DISTINCT InvoiceId)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;InvoiceId = {"=Sum(Quantity)&amp;gt;=5"}&amp;gt;} DISTINCT InvoiceId)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 13:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092168#M363187</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-31T13:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092169#M363188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 13:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092169#M363188</guid>
      <dc:creator>dimak123</dc:creator>
      <dc:date>2016-01-31T13:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092170#M363189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Coming late to the party but still,&lt;/P&gt;&lt;P&gt;in this method its hard coded, so if you have some invocies with 6 items or your max is 4?? you'll have to manualy add or remove expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why not use a pivot with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CustomerId and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity on top) &lt;/SPAN&gt;as dimensions&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count(DISTINCT InvoiceId) as expression?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it will be dynamic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 10:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092170#M363189</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2016-02-11T10:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092171#M363190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the OP wants to have the aggregated quantitiy per invoice, so you would need a calculated Dimension (or perform the aggregation in the script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could reuse my first suggested solution in the very first answer. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 10:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092171#M363190</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-11T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092172#M363191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm,&lt;/P&gt;&lt;P&gt;i understood somthing diffrent i think.&lt;/P&gt;&lt;P&gt;in the oroignal post the OP states:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;how many invoices(just count) contained only one item, 2 items, 3 items and 4 &lt;STRONG&gt;according to quantity field&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;so for example if i take customer &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;100237 it has 2 invoces :&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01390082_INV and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01390089_INV (both have 2 item &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;according to quantity field)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so the answer as i see it is 2 (but in your way and also what appears on the original post the answer is 1)&lt;/P&gt;&lt;P&gt;so i admit i don't really understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092172#M363191</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2016-02-11T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092173#M363192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;swuehl was right,&amp;nbsp; i needed to count the invoices (for customer) that had only one item bought (in quantity),two and more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 11:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092173#M363192</guid>
      <dc:creator>dimak123</dc:creator>
      <dc:date>2016-02-11T11:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092174#M363193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i still dont get it,&lt;/P&gt;&lt;P&gt;in the example i gave customer &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;100237 has 2(two invoices) that had only 1 item bought with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity of 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;not 1 as you have in your post or in the way &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;swuehl&amp;nbsp; was counting it&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;so what am i missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092174#M363193</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2016-02-11T12:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092175#M363194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to aggregate per invoice, so 01390082_INV has two lines, sum of quantity is (2+1)=3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092175#M363194</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-11T12:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count Quantity for invoice</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092176#M363195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customer &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;100237 had 4 invoices (sum the lines by invoice):&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01390082_INV - have 3 in quantity&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;01390083_INV - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;have &lt;/SPAN&gt;4 in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;quantity&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;01390084_INV - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;have &lt;/SPAN&gt;4 in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;quantity&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;01390089_INV - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;have&amp;nbsp; 1 in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;quantity&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 12:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Quantity-for-invoice/m-p/1092176#M363195</guid>
      <dc:creator>dimak123</dc:creator>
      <dc:date>2016-02-11T12:39:33Z</dc:date>
    </item>
  </channel>
</rss>

