<?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 Set Analysis Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436187#M484649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to sum the current year's sales &lt;STRONG&gt;IF&lt;/STRONG&gt; that same customer didn't have sales (=0) for the previous two years. I've been trying to use set analysis expressions, but haven't been successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 16:38:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-07T16:38:11Z</dc:date>
    <item>
      <title>Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436187#M484649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to sum the current year's sales &lt;STRONG&gt;IF&lt;/STRONG&gt; that same customer didn't have sales (=0) for the previous two years. I've been trying to use set analysis expressions, but haven't been successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436187#M484649</guid>
      <dc:creator />
      <dc:date>2013-05-07T16:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436188#M484650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Customer={"=Sum({'Year={'&amp;gt;=$(Year(Today()) -1)&amp;lt;=$(Year(Today()))'}Sales) = 0"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436188#M484650</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-05-07T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436189#M484651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={'$(=year(today()))'}, Customer=e({&amp;lt;Year={'&amp;gt;=$(=year(today())-2)&amp;lt;$(=year(today()))'}&amp;gt;}Customer) &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace Year, Customer and Sales with your field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436189#M484651</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-07T16:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436190#M484652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for you reply Gysbert. What you proposed seems to work! I've been working on this a long time, so thank you again.&lt;/P&gt;&lt;P&gt;But now, my boss has added some granularity to it; He wants it down to a product level. So:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum of current year's sales by product category ONLY if the same category didn't have ANY sales in ANY month for the prior two years. How would I achieve this? This is my current expression which doesn't seem to give my what I need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Fiscal Year]={'$(FiscalCurrentYear)'}, &lt;/P&gt;&lt;P&gt;[Sales Catalog Sub Section]=e({&amp;lt;[Fiscal Year]={'&amp;gt;=$(=FiscalCurrentYear-2)&amp;lt;$(FiscalCurrentYear)'}&amp;gt;}[Sales Catalog Sub Section]) &amp;gt;} [Sales Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436190#M484652</guid>
      <dc:creator />
      <dc:date>2013-05-08T14:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436191#M484653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help on this guys? I'm helplessly stuck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 15:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help/m-p/436191#M484653</guid>
      <dc:creator />
      <dc:date>2013-05-09T15:18:13Z</dc:date>
    </item>
  </channel>
</rss>

