<?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: Need help with set ananlysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569111#M1119768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sigitas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should have customer status in your DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some sample expression:&lt;/P&gt;&lt;P&gt;1. Lost customer during 2012 = sum({$&amp;lt;Invoice.InvoiceStatus = {'Patvirtinta'}, Year = {2012}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;P&gt;2. Lost customer during 2013 = sum({$&amp;lt;Invoice.InvoiceStatus = {'Patvirtinta'}, Year = {2013}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share condition how to define New/Lost customer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 01:06:06 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2014-02-19T01:06:06Z</dc:date>
    <item>
      <title>Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569107#M1119764</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 have a straigth table, and i want to show revenue of lost clients ( ho by in 2012, but not in buy 2013) and new clients (ho buy in 2013 but not by in 2012)&lt;/P&gt;&lt;P&gt;my revenue set analysis is : sum({$&amp;lt;Invoice.InvoiceStatus = {'$(vInvoiceApprove)'}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569107#M1119764</guid>
      <dc:creator />
      <dc:date>2014-02-11T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569108#M1119765</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;What is definition of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vInvoiceApprove&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569108#M1119765</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-11T11:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569109#M1119766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569109#M1119766</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-11T11:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569110#M1119767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached to my first post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569110#M1119767</guid>
      <dc:creator />
      <dc:date>2014-02-11T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569111#M1119768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sigitas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should have customer status in your DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some sample expression:&lt;/P&gt;&lt;P&gt;1. Lost customer during 2012 = sum({$&amp;lt;Invoice.InvoiceStatus = {'Patvirtinta'}, Year = {2012}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;P&gt;2. Lost customer during 2013 = sum({$&amp;lt;Invoice.InvoiceStatus = {'Patvirtinta'}, Year = {2013}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share condition how to define New/Lost customer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 01:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569111#M1119768</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-19T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set ananlysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569112#M1119769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i solved my issue by this expresion, for new customer (during 2013):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;HalfYear, Quarter, Month, Year={$(=max(Year)-1)}, &lt;/P&gt;&lt;P&gt; Customer.Customer = &lt;/P&gt;&lt;P&gt;P({$&amp;lt;HalfYear, Quarter, Month, Year={$(=max(Year)-1)}&amp;gt;})&amp;nbsp; &lt;/P&gt;&lt;P&gt;* E({$&amp;lt;HalfYear, Quarter, Month, Year={2012,2011,2010,2009,2008,2007,2006}&amp;gt;})&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;,Invoice.InvoiceStatus = {'$(vInvoiceApprove)'} &amp;gt;} Invoice.RevenueLT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for lost customer (during 2013):&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;HalfYear, Quarter, Month, Year={$(=max(Year)-2)}, &lt;/P&gt;&lt;P&gt;Customer.Customer = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P({$&amp;lt;HalfYear, Quarter, Month, Year={$(=max(Year)-2)}&amp;gt;}) &lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E({$&amp;lt;HalfYear, Quarter, Month, Year={$(=max(Year)-1)}&amp;gt;}),Invoice.InvoiceStatus = {'$(vInvoiceApprove)'}&amp;gt;} Invoice.RevenueLT/Currency.Rate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 07:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-ananlysis/m-p/569112#M1119769</guid>
      <dc:creator />
      <dc:date>2014-02-19T07:40:55Z</dc:date>
    </item>
  </channel>
</rss>

