<?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 View previous year than the one selected on 8.2 Without Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173367#M42582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good Oleg. I will try this and verify once I complete it. Thanks for the response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 22:03:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-04T22:03:33Z</dc:date>
    <item>
      <title>View previous year than the one selected on 8.2 Without Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173365#M42580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to view data from a previous year than the one selected. However I am on 8.2 without the ability of using Set Analysis.&lt;/P&gt;&lt;P&gt;For example, if 2009 is selected then 2008 data will be displayed. The following works with Set Analysis:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={$(=Only(Year)-1)}&amp;gt;}[Net Commission])&lt;/P&gt;&lt;P&gt;How would I accomplish this without Set Analysis? I really would not like to modify the script.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 03:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173365#M42580</guid>
      <dc:creator />
      <dc:date>2009-12-03T03:01:07Z</dc:date>
    </item>
    <item>
      <title>View previous year than the one selected on 8.2 Without Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173366#M42581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;it's almost an impossible task without set analysis. You can solve it, but you will have to modify your script. So, you'll have to pick your battles...&lt;/P&gt;&lt;P&gt;If you are ready to modify your script, here is how you can do it:&lt;/P&gt;&lt;P&gt;1. Create another date field and call it "As of Date".&lt;/P&gt;&lt;P&gt;2. Create a table with all possible combinations of your original Date and the new "As Of Date" (a Join Load with no common fields will do it for you).&lt;/P&gt;&lt;P&gt;3. For each combination of "Date" and "As of Date", create a set of flags for any date buckets you want - "this year", "prior year", "this YTD", "Prior YTD" etc... Each flag gets a 1 if the Date belongs in the respective period compared to "As Of Date". If the dates don't belong in the period, the flag gets a 0 or null().&lt;/P&gt;&lt;P&gt;4. On the screen, let your users select "As Of Date" or any Year/Month attributes related to it (do not let them select the original Date).&lt;/P&gt;&lt;P&gt;5. In the chart expressions, use flags to limit your data:&lt;/P&gt;&lt;P&gt;this year sales = sum(Sales* ThisYearFlag)&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 03:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173366#M42581</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-12-03T03:25:36Z</dc:date>
    </item>
    <item>
      <title>View previous year than the one selected on 8.2 Without Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173367#M42582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good Oleg. I will try this and verify once I complete it. Thanks for the response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 22:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-previous-year-than-the-one-selected-on-8-2-Without-Set/m-p/173367#M42582</guid>
      <dc:creator />
      <dc:date>2009-12-04T22:03:33Z</dc:date>
    </item>
  </channel>
</rss>

