<?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: Comparative analysis with Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863382#M469492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad it worked, since you states worked based on selections the &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;KidCustomer =e ({statoB}) &lt;/STRONG&gt;is telling it to exclude every possible value that is part of the selection in startoB &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 14:40:49 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-07-02T14:40:49Z</dc:date>
    <item>
      <title>Comparative analysis with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863379#M469489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody. It's the first time i wrote here.&lt;/P&gt;&lt;P&gt;I read many discussions but i didn't find the solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two different states (A and B) with selected years (2014, 2015).&lt;/P&gt;&lt;P&gt;The expressions to calculate active customers of a selected shop (nomeNegozio) in different years (2014 and 2015) are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count ({statoA&amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio&amp;gt;} DISTINCT KidCustomer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count ({statoB&amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio&amp;gt;} DISTINCT KidCustomer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i would like to calculate customers that were active in 2014 but not in 2015. I tried many expressions but nothingI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({statoB-statoA &amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio&amp;gt;} DISTINCT KidCustomer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({statoA &amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio&amp;gt;-&lt;SPAN style="font-size: 13.3333330154419px;"&gt;statoB &amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio&amp;gt;&lt;/SPAN&gt;} DISTINCT KidCustomer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone could help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863379#M469489</guid>
      <dc:creator />
      <dc:date>2015-07-01T13:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative analysis with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863380#M469490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you define the year ?&amp;nbsp; by the selection ?&lt;/P&gt;&lt;P&gt;if that is true then try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ({statoA&amp;lt;KidTipoMov={2},TipoMovimento={INTERNI}, nomeNegozio=$::nomeNegozio, &lt;STRONG&gt;KidCustomer =e ({statoB})&lt;/STRONG&gt;&amp;gt;} DISTINCT KidCustomer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 16:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863380#M469490</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-07-01T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative analysis with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863381#M469491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfetct!! Thankyou.&lt;/P&gt;&lt;P&gt;I don't really understand the syntax but it runs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863381#M469491</guid>
      <dc:creator />
      <dc:date>2015-07-02T14:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparative analysis with Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863382#M469492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad it worked, since you states worked based on selections the &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;KidCustomer =e ({statoB}) &lt;/STRONG&gt;is telling it to exclude every possible value that is part of the selection in startoB &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparative-analysis-with-Alternate-States/m-p/863382#M469492</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-07-02T14:40:49Z</dc:date>
    </item>
  </channel>
</rss>

