<?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: Another problem with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473388#M176839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;thank very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sbuzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Jun 2013 16:33:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-22T16:33:10Z</dc:date>
    <item>
      <title>Another problem with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473384#M176835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Sorry, but for me it is not easy to use the Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to make a table (see Table 1 of the attached file) in which, for each city, &lt;/P&gt;&lt;P&gt;I get sales from the beginning of the year up to the maximum month. &lt;/P&gt;&lt;P&gt;In another column reports I get the values of sales for the same period &lt;/P&gt;&lt;P&gt;but reported the previous year.&lt;/P&gt;&lt;P&gt;If I select Dec/2012 it works well. I get the year 2012 in the first &lt;/P&gt;&lt;P&gt;column and the year 2011 in the second column. &lt;/P&gt;&lt;P&gt;Instead if I select the variable year = 2012, I would have the same result &lt;/P&gt;&lt;P&gt;as before. For the first column I get the correct value. &lt;/P&gt;&lt;P&gt;For the second column I have the value 0!&lt;/P&gt;&lt;P&gt;How can I do to run the 2 cases correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK ALL &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 13:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473384#M176835</guid>
      <dc:creator />
      <dc:date>2013-06-14T13:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Another problem with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473385#M176836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt; ( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=date(addmonths(YearStart(max(YearMonth)),-12),'MMM/YY'))&amp;lt;=$(=date(addmonths(min(YearMonth),-12),'MMM/YY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;hope this solves the issue&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 14:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473385#M176836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-14T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Another problem with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473386#M176837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi srikanthsri1, &lt;/P&gt;&lt;P&gt;than a lot.&lt;/P&gt;&lt;P&gt;But it non work well.&lt;/P&gt;&lt;P&gt;i risultati delle 2 tabelle sono diversi.&lt;/P&gt;&lt;P&gt;Puoi caricare il tuo esempio?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank&amp;nbsp; 1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 15:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473386#M176837</guid>
      <dc:creator />
      <dc:date>2013-06-14T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Another problem with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473387#M176838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the previous year expression use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum (&amp;nbsp; {&amp;lt;Year=,YearMonth={"&amp;gt;=$(=date(addmonths(YearStart(max(YearMonth)),-12),'MMM/YY'))&amp;lt;=$(=date(addmonths(max(YearMonth),-12),'MMM/YY'))"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference with your version is the " Year= ". This will make QlikView disregard the Year selection in order to be able to select those YearMonth that don't exist in the selected year, which are the ones that you're setting with the YearMonth set analysis. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 15:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473387#M176838</guid>
      <dc:creator />
      <dc:date>2013-06-14T15:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Another problem with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473388#M176839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;thank very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sbuzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jun 2013 16:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-problem-with-Set-Analysis/m-p/473388#M176839</guid>
      <dc:creator />
      <dc:date>2013-06-22T16:33:10Z</dc:date>
    </item>
  </channel>
</rss>

