<?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 top customers over a certain threshold in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869214#M303970</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;You need to use single quotes for &amp;gt;100 in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Sum({&amp;lt; %AccountID = {"=Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;{&amp;lt; Sales = {'&amp;gt;100'} &amp;gt;} &lt;/SPAN&gt;Sales) &amp;gt; 1000"} &amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 11:16:29 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-07-14T11:16:29Z</dc:date>
    <item>
      <title>Count top customers over a certain threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869212#M303968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is tricky...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fact table with sales made by customers, now &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let's assume:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a &lt;EM&gt;top customer&lt;/EM&gt; has sum of sales &amp;gt; 1.000€&lt;/LI&gt;&lt;LI&gt;a &lt;EM&gt;luxury sale&lt;/EM&gt; is a sale &amp;gt; 100€&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can sum luxury sales like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt; Sales = {"&amp;gt;100"} &amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can count customers with at least 1000€ sales like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt; %AccountID = {"=Sum(Sales) &amp;gt; 1000"} &amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now what if I want to count customers with at least 1000€ sales of luxury objects?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Sum({&amp;lt; %AccountID = {"=Sum(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;{&amp;lt; Sales = {"&amp;gt;100"} &amp;gt;} &lt;/SPAN&gt;Sales) &amp;gt; 1000"} &amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;It's worth pointing out this is a What if application so that 1.000 and 100 values above change on user action on 2 sliders.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks for your help!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869212#M303968</guid>
      <dc:creator>cicciput</dc:creator>
      <dc:date>2015-07-14T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count top customers over a certain threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869213#M303969</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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;Sum({&amp;lt; %AccountID = {"=Sum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;{&amp;lt;Sales = {'&amp;gt;100'} &amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;Sales) &amp;gt; 1000"} &amp;gt;} Account.DCF)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869213#M303969</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T11:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count top customers over a certain threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869214#M303970</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;You need to use single quotes for &amp;gt;100 in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Sum({&amp;lt; %AccountID = {"=Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;{&amp;lt; Sales = {'&amp;gt;100'} &amp;gt;} &lt;/SPAN&gt;Sales) &amp;gt; 1000"} &amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869214#M303970</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-14T11:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count top customers over a certain threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869215#M303971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;%AccountID = {"=SUM(Sales)&amp;gt;1000"}&amp;gt;*&amp;lt;Sales = {"&amp;gt;100"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;Account.DCF&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869215#M303971</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-14T11:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count top customers over a certain threshold</title>
      <link>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869216#M303972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks also others who answered too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 07:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-top-customers-over-a-certain-threshold/m-p/869216#M303972</guid>
      <dc:creator>cicciput</dc:creator>
      <dc:date>2015-07-15T07:34:13Z</dc:date>
    </item>
  </channel>
</rss>

