<?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: Customers not spent in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804304#M1028224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that will work as I want to see only the customers when they haven't spent.&amp;nbsp; I have created a new expression which will return "No Spend" if the customer hasn't spent in Range 2 and a dash "-" appears if they have spent..&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79452_Capture.JPG" style="height: 452px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I've used to get this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Match(sum({[No Spend]&amp;lt;[invoice_value]={'&amp;gt;0'}&amp;gt;} invoice_value),'0'),'No Spend')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to create a list box or something so they choose "No Spend" and this only chooses those customers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help so far &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2015 17:59:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-27T17:59:01Z</dc:date>
    <item>
      <title>Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804295#M1028215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find customers who haven't spent in a particular period.&amp;nbsp; I am trying to use an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[invoice_value]={'0'}&amp;gt;} invoice_value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79411_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This isn't returning any records.&amp;nbsp; If I try this in SQL though by doing having sum(val) = 0 this works fine and shows me the customers.&amp;nbsp; I am guessing this isn't possible in Qlikview or I am going about this wrong.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Can anyone help me here?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804295#M1028215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804296#M1028216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that formula seems to be correct - but it would logically always return 0 as that's what you have specified in your set_expression. You want to know how many customers are there, no? Then you have to use COUNT()&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804296#M1028216</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-27T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804297#M1028217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I would like to return these customers as basically our sales team will want to call the customers who haven't spent so I need Qlikview to show them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of adding something into the dimension like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum(invoice_value = 0),invoice_CustNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this didn't work either... Doh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804297#M1028217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804298#M1028218</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;so you really need the individual records with the names of those customers, not just their number or some aggregated info.&lt;/P&gt;&lt;P&gt; Then you'll need to specify some binary field (1 or 0) in the script which you can use to display the names of those customers whose invoice_value=0 on the GUI - or even put them in variables and send them via email.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804298#M1028218</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-27T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804299#M1028219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to count Customers:&lt;BR /&gt;=count(distinct if(aggr(sum(invoice_value),Customer)=0, Customer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use Customer in calculated dimension:&lt;BR /&gt;=only(if(aggr(sum(invoice_value),Customer)=0, Customer))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804299#M1028219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804300#M1028220</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;/P&gt;&lt;P&gt;1. add in ur script this statement&amp;nbsp;&amp;nbsp;&amp;nbsp; Set NullInterpret = '';&lt;/P&gt;&lt;P&gt;2. add in ur expr&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;invoice_value&lt;/SPAN&gt;]=null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804300#M1028220</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-02-27T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804301#M1028221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From a business perspective, you need to detail your requirements: you are not simply looking all the customers who didn't purchased anything in a period, that will return all historical customers. Also you want to exclude accidental/unique purchases (definition depends on industry).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would define: from all the active customers in the last 6 months (over a certain value, we don't want to waste time on very small customers), return all the customers that didn't purchase anything in the last month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further more, you may want to return not only lost customers, but also the ones that suffered a drastic reduction of their purchases, lets say 30%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, these numbers depends on the industry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804301#M1028221</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2015-02-27T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804302#M1028222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tackled this from a different angle.&amp;nbsp; I've basically added two states two my document so a user can pick dates within the two states.&amp;nbsp; This then returns the values for either range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79438_Capture.JPG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I have sorted this by "Range 2" so customers who haven't spent appear at the top.&amp;nbsp; I am however seeing customers who have spent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/79451_Capture1.JPG" style="height: 387px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to not show these in the table?&amp;nbsp; I am getting close now !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 16:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804302#M1028222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T16:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804303#M1028223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can create two variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 for range from 2nd for range to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell them ur customer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they can pick from any value&amp;nbsp; to any to value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hopes helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804303#M1028223</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-02-27T17:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Customers not spent</title>
      <link>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804304#M1028224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that will work as I want to see only the customers when they haven't spent.&amp;nbsp; I have created a new expression which will return "No Spend" if the customer hasn't spent in Range 2 and a dash "-" appears if they have spent..&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79452_Capture.JPG" style="height: 452px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I've used to get this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Match(sum({[No Spend]&amp;lt;[invoice_value]={'&amp;gt;0'}&amp;gt;} invoice_value),'0'),'No Spend')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to create a list box or something so they choose "No Spend" and this only chooses those customers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help so far &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 17:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customers-not-spent/m-p/804304#M1028224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-27T17:59:01Z</dc:date>
    </item>
  </channel>
</rss>

