<?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: counting customers by first order only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983916#M335802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your comments so far, apologies but I can’t provide a sample set of data at present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I have Financial week and Status in the dimensions, and the following in the expression;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-indent: 36pt;"&gt;count ({&amp;lt;ItemJobNumber = p([Job Number])&amp;gt;}distinct&amp;nbsp; CustomerNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to restrict the count of the CustomerNumber to the first instance the criteria above is met.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 07:46:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-25T07:46:42Z</dc:date>
    <item>
      <title>counting customers by first order only</title>
      <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983913#M335799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a graph to show by week (x axis) and status (stacked)&amp;nbsp; the number of customers that have placed their first order in that week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't write this into the script as the count needs to change based on which promotion is selected in a filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i need to use an aggr but i'm not sure if i write this as a calculated dimention or within the chart expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;essentially: count the customers in each week where their first order fits xyz criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983913#M335799</guid>
      <dc:creator />
      <dc:date>2015-08-24T14:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: counting customers by first order only</title>
      <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983914#M335800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will be much easier to answer if you can upload your qvw or a representative sample. That way we don't need to guess at fields names or the data structure, and you will get more accurate and useful responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983914#M335800</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-24T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: counting customers by first order only</title>
      <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983915#M335801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just flag the first encounter with the customer in the script. This should still allow you to be dynamic. May be if you can share some sample data, it can be demonstrated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983915#M335801</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-24T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: counting customers by first order only</title>
      <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983916#M335802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your comments so far, apologies but I can’t provide a sample set of data at present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I have Financial week and Status in the dimensions, and the following in the expression;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-indent: 36pt;"&gt;count ({&amp;lt;ItemJobNumber = p([Job Number])&amp;gt;}distinct&amp;nbsp; CustomerNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to restrict the count of the CustomerNumber to the first instance the criteria above is met.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983916#M335802</guid>
      <dc:creator />
      <dc:date>2015-08-25T07:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: counting customers by first order only</title>
      <link>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983917#M335803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I think i have solved my issue using a calculated dimention&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ItemJobNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Job Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Financia&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;l Week]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CustomerNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-customers-by-first-order-only/m-p/983917#M335803</guid>
      <dc:creator />
      <dc:date>2015-08-28T14:08:00Z</dc:date>
    </item>
  </channel>
</rss>

