<?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: PY Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743071#M667302</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;Set analysis take only one month. so you assign the&amp;nbsp; vYearMonth = Max(Yearmonth) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose two month, It will take max month only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use expression like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum(aggr(sum({&amp;lt;YearMonth={"$(=Date(vYearMonth-100, 'YYYY-MMM')"}&amp;gt;}SalesValue)/100, Product,Region))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Note : I dont know what u used in yearmonth format, so update your format&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 11:35:33 GMT</pubDate>
    <dc:creator>v_iyyappan</dc:creator>
    <dc:date>2014-11-28T11:35:33Z</dc:date>
    <item>
      <title>PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743067#M667298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Hello,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&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 style="font-weight: inherit; font-style: inherit; font-family: inherit;"&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 style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;it works fine until I select, for example, 2 YearMonth!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&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 style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743067#M667298</guid>
      <dc:creator />
      <dc:date>2014-11-28T11:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743068#M667299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove Monthyear from your expression, then it will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum({&amp;lt;YearMonth={'$(=YearMonth-100)'}&amp;gt;}SalesValue)/100,product,Region))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743068#M667299</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-28T11:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743069#M667300</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;My mistake the expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(aggr(sum({&amp;lt;YearMonth={"$(=YearMonth-100)"}&amp;gt;}SalesValue)/100, Product,Region))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and it doesn't work when I select more than a &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YearMonth!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;More suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thnks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743069#M667300</guid>
      <dc:creator />
      <dc:date>2014-11-28T11:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743070#M667301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works fine:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72337_QV1.PNG.png" style="width: 620px; height: 195px;" /&gt;&lt;/P&gt;&lt;P&gt;doesn't work&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72344_QV2.PNG.png" style="width: 620px; height: 194px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743070#M667301</guid>
      <dc:creator />
      <dc:date>2014-11-28T11:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743071#M667302</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;Set analysis take only one month. so you assign the&amp;nbsp; vYearMonth = Max(Yearmonth) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose two month, It will take max month only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use expression like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum(aggr(sum({&amp;lt;YearMonth={"$(=Date(vYearMonth-100, 'YYYY-MMM')"}&amp;gt;}SalesValue)/100, Product,Region))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Note : I dont know what u used in yearmonth format, so update your format&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743071#M667302</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2014-11-28T11:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743072#M667303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearMonth={"$(=YearMonth-100)"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your set analysis above is trying to set a specific YearMonth, when selecting more than one you obviously have multiple options so your set expression is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually want two or more possible values in the set analysis, maybe look to concat your YearMonth selection and build a string of values to plug in to the set analysis.&lt;/P&gt;&lt;P&gt;Something like Concat(Distinct chr(39) &amp;amp; YearMonth &amp;amp; chr(39), ',') and use that in the set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743072#M667303</guid>
      <dc:creator />
      <dc:date>2014-11-28T11:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743073#M667304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are trying to get the previous year, your expression is filtering out only one year, so when you select you Yearmonth you are getting an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this simply replace this part:&lt;/P&gt;&lt;P&gt;&amp;lt;YearMonth={'$(=Max(YearMonth)-100)'}&amp;gt;}Salesvalue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you by default value for the previous Year without selecting anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 11:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743073#M667304</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-11-28T11:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743074#M667305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you are just after one year based on max selected etc, look at the other suggestions posted of course&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 12:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743074#M667305</guid>
      <dc:creator />
      <dc:date>2014-11-28T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743075#M667306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried that, but it doesnt work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 12:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743075#M667306</guid>
      <dc:creator />
      <dc:date>2014-11-28T12:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743076#M667307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I need to be dynamic to the diferent selected YearMonth!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried (but probably did somethig wrong!) with concat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum({&amp;lt;YearMonth={$(=Concat(Distinct chr(39) &amp;amp; YearMonth &amp;amp; chr(39), ','))}&amp;gt;}SalesValue)/100, Product,Region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the exact same problem, it works fine with 1 selection, but doesn't work with multi selections...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I also need the concat to use YearMonth-100...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&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 12:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743076#M667307</guid>
      <dc:creator />
      <dc:date>2014-11-28T12:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743077#M667308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK so you do want the multiples then, should be able to get this working with concat I think, maybe just tricky with the syntax of it. Are you able to post up an example app and I can take a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 12:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743077#M667308</guid>
      <dc:creator />
      <dc:date>2014-11-28T12:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743078#M667311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the expession "Value_PY_Concat" I need something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(sum({&amp;lt;YearMonth={$(=Concat(Distinct chr(39) &amp;amp; YearMonth&lt;STRONG style="color: #ff0000;"&gt;-100&lt;/STRONG&gt; &amp;amp; chr(39), ','))}&amp;gt;}Sales), Product,Region))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&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 12:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743078#M667311</guid>
      <dc:creator />
      <dc:date>2014-11-28T12:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743079#M667317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah I see, you are using that YearMonth as a dimension also, then no the concat idea won't work, as the only possible value the expression could display, are those for it's own year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only way I can think to do this is in the script create a 'Prior year Sales' field, which is against the current 'YearMonth' and sum on that value instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e&lt;/P&gt;&lt;P&gt;Yeamonth,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priot Year Sales&lt;/P&gt;&lt;P&gt;201410,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 85&lt;/P&gt;&lt;P&gt;2013 10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 85,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxx&lt;/P&gt;&lt;P&gt;etc etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That or look to introduce a full master calendar dimension table with the required point in time comparison flags you require&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 13:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743079#M667317</guid>
      <dc:creator />
      <dc:date>2014-11-28T13:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: PY Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743080#M667320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already did that para created me another problem when I have products not sold in a YearMonth, I cannot do the left join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also can't assing 0 to sales, because the DB will be too big!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's possible to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(aggr(sum({&amp;lt;YearMonth={$(=&lt;STRONG style="color: #ff0000;"&gt;column(3)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)}&amp;gt;}Sales), Product,Region))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to use an expression value inside the SA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 14:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/PY-Set-Analysis/m-p/743080#M667320</guid>
      <dc:creator />
      <dc:date>2014-11-28T14:02:01Z</dc:date>
    </item>
  </channel>
</rss>

