<?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 PY Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-PY-Value/m-p/742437#M265087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression in a pivot table to get the previous year sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum({&amp;lt;MonthYear,YearMonth={"$(=YearMonth-100)"}&amp;gt;}SalesValue)/100, Product,Region))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine until I select, for example, 2 YearMonth!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's because there are values that exists in one YearMonth, but not in the other, so their is nulls in the value columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 10:54:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-28T10:54:24Z</dc:date>
    <item>
      <title>Set Analysis PY Value</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-PY-Value/m-p/742437#M265087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression in a pivot table to get the previous year sales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum({&amp;lt;MonthYear,YearMonth={"$(=YearMonth-100)"}&amp;gt;}SalesValue)/100, Product,Region))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine until I select, for example, 2 YearMonth!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's because there are values that exists in one YearMonth, but not in the other, so their is nulls in the value columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 10:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-PY-Value/m-p/742437#M265087</guid>
      <dc:creator />
      <dc:date>2014-11-28T10:54:24Z</dc:date>
    </item>
  </channel>
</rss>

