<?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: New Customers Competition - chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475513#M1140190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a chart with Customer as dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this chart expression might work, but you should use Invoicedate as field in your set modifier only once:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=01.02.2012&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)&amp;gt;= 300),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or if you need to check for Invoiced &amp;gt; 300 after Aug 1st:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;=if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=01.02.2012&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;{$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;gt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)&amp;gt;= 300),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To only show the customers that fulfill this condition, this should be your only expression and 'Suppress zero values' should be checked on presentation tab.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 11:14:53 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-09-25T11:14:53Z</dc:date>
    <item>
      <title>New Customers Competition - chart</title>
      <link>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475512#M1140189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new with QV, and I'm having a problem with my expression, where I should have only customers who are new or haven't bought anything in last 18 months before the competition (and who have bought over 300€). Competition started 01.08.2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing something wrong with that past 18 months..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I have used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;='01.02.2012'"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;lt;'31.07.2013'"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)&amp;gt;= '300'),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but it still gets all the customers. Could somebody help me with my expression, please? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;-Kirsi-&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 10:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475512#M1140189</guid>
      <dc:creator />
      <dc:date>2013-09-25T10:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: New Customers Competition - chart</title>
      <link>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475513#M1140190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a chart with Customer as dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this chart expression might work, but you should use Invoicedate as field in your set modifier only once:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=01.02.2012&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)&amp;gt;= 300),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or if you need to check for Invoiced &amp;gt; 300 after Aug 1st:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;=if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=01.02.2012&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;lt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;{$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Invoicedate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&amp;gt;31.07.2013"&lt;/SPAN&gt;}&amp;gt;} &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;)&amp;gt;= 300),&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Invoiced&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To only show the customers that fulfill this condition, this should be your only expression and 'Suppress zero values' should be checked on presentation tab.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 11:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475513#M1140190</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-25T11:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: New Customers Competition - chart</title>
      <link>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475514#M1140191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works perfectly now! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kirsi-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Customers-Competition-chart/m-p/475514#M1140191</guid>
      <dc:creator />
      <dc:date>2013-09-25T12:43:05Z</dc:date>
    </item>
  </channel>
</rss>

