<?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 Prior Year Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1395999#M818848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a field which I'll call "File Date" (ex. 7/31/2017,6/30/2017,5/31/2017, etc) for ease of explanation. We allow the user to select which "File Date" they want to see their data represented. This field values can go back several years based on the client. What I want to do is take the Max(File Date) and also show the data for all previous File Dates for the same Month &amp;amp; Day but all previous years. For instance if the Max(File Date) is 7/31/2017 I want to show 7/31/2017, 7/31/2016, 7/31/2015 back to the earliest 7/31/YYYY for which I have data in a chart. Can I do this with a set analysis statement? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sterno14</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1395999#M818848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a field which I'll call "File Date" (ex. 7/31/2017,6/30/2017,5/31/2017, etc) for ease of explanation. We allow the user to select which "File Date" they want to see their data represented. This field values can go back several years based on the client. What I want to do is take the Max(File Date) and also show the data for all previous File Dates for the same Month &amp;amp; Day but all previous years. For instance if the Max(File Date) is 7/31/2017 I want to show 7/31/2017, 7/31/2016, 7/31/2015 back to the earliest 7/31/YYYY for which I have data in a chart. Can I do this with a set analysis statement? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1395999#M818848</guid>
      <dc:creator>sterno14</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396000#M818849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Year, date, MonthYear as your dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 16:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396000#M818849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-28T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396001#M818850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have File Date as a dimension as I wanted to show the File Date in the chart. I do have YearMonth (FileDate_YearMonth) in my calendar. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396001#M818850</guid>
      <dc:creator>sterno14</dc:creator>
      <dc:date>2017-08-28T18:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396002#M818851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;FileDate = {"$(=Date(Max(Date)))", &lt;SPAN style="font-size: 13.3333px;"&gt;"$(=Date(AddYears(Max(Date), -1)))", &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"$(=Date(AddYears(Max(Date), -2)))", &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"$(=Date(AddYears(Max(Date), -3)))"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;}&amp;gt;}Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 18:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396002#M818851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-28T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396003#M818852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That would work however I do not know how many years to go back since different clients may have different File Date periods. So after looking at your expression what I did is add File Date Month to my calendar and used an expression: {&amp;lt;[File Date Month]={'$(=Month(Max([File Date])))'}. That now gets me what I want. Thanks for all your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 19:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396003#M818852</guid>
      <dc:creator>sterno14</dc:creator>
      <dc:date>2017-08-28T19:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396004#M818853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds great &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 19:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-Year-Set-Analysis/m-p/1396004#M818853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-28T19:55:35Z</dc:date>
    </item>
  </channel>
</rss>

