<?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 issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107951#M463831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So basically the report needs to go back 12 months to 24 months of the last purchases made by the customer.&lt;SPAN style="color: #333333; font-family: HelveticaNeue-Roman, HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; background-color: #f5f5f5;"&gt; So the full span from last purchase is June 1, 2013 to May 31, 2015. So, the report would look at all customers in our database and if their last purchase was 12-36 months ago, pulled into a report with no purchases in the current year. &lt;/SPAN&gt;I am having difficulty understanding Set Analysis. I have looked at many articles but I can't seem to get my expressions to work. Any thoughts on why my expressions below aren't working? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(Today(),-23))"}&amp;gt;}[Sales Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(Today(),-11))"}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 15:51:26 GMT</pubDate>
    <dc:creator>neena123</dc:creator>
    <dc:date>2016-06-01T15:51:26Z</dc:date>
    <item>
      <title>Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107951#M463831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So basically the report needs to go back 12 months to 24 months of the last purchases made by the customer.&lt;SPAN style="color: #333333; font-family: HelveticaNeue-Roman, HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; background-color: #f5f5f5;"&gt; So the full span from last purchase is June 1, 2013 to May 31, 2015. So, the report would look at all customers in our database and if their last purchase was 12-36 months ago, pulled into a report with no purchases in the current year. &lt;/SPAN&gt;I am having difficulty understanding Set Analysis. I have looked at many articles but I can't seem to get my expressions to work. Any thoughts on why my expressions below aren't working? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(Today(),-23))"}&amp;gt;}[Sales Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(Today(),-11))"}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107951#M463831</guid>
      <dc:creator>neena123</dc:creator>
      <dc:date>2016-06-01T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107952#M463832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(AddMonths(Today(),-23)))"}&amp;gt;}[Sales Amount])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[Fiscal Month]={"&amp;lt;$(=Month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;AddMonths(&lt;/SPAN&gt;Today(),-11)))"}&amp;gt;}[Sales Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107952#M463832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-01T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107953#M463833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply! But it did not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107953#M463833</guid>
      <dc:creator>neena123</dc:creator>
      <dc:date>2016-06-01T15:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107954#M463834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Try creating a master calender in your script based on the the min and max date of your date range. From there, incorporate the "year" field in your set analysis. This should allow you to now do rolling 12, 24, etc. calculations.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Regards,&lt;/P&gt;&lt;P class=""&gt;Pravesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107954#M463834</guid>
      <dc:creator />
      <dc:date>2016-06-01T20:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107955#M463835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is that created though? I do have a calendar but how do I use it to create rolling calculations? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107955#M463835</guid>
      <dc:creator>neena123</dc:creator>
      <dc:date>2016-06-01T20:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis issue. Need to create a report that pulls for the current month(June 2016), a list of customers whose last purchase was May 31, 2015 or earlier.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107956#M463836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the following expression can be used:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #0000ff;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #000000;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #800000;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Month&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #000000;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;={'&amp;gt;=$(=max(Month)-11)&amp;lt;=$(=max(Month))'}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #800000;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Amount&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: verdana, geneva; color: #000000;"&gt;&lt;SPAN lang="en" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-issue-Need-to-create-a-report-that-pulls-for-the/m-p/1107956#M463836</guid>
      <dc:creator />
      <dc:date>2016-06-02T07:10:30Z</dc:date>
    </item>
  </channel>
</rss>

