<?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: Set Analysis for selected dates to freeze in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919420#M984537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for responding so quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use that expression and select May as my month, it only shows May 2014 in that column. I need this to always show full year 2014 regardless of what month I have selected for 2015., do you have advice on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also..&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;In the first column I have this as my label expression&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;='Jan - ' &amp;amp; date(if(num(Month)=1,12,num(Month)-1), 'MMM') &amp;amp; '&amp;nbsp;&amp;nbsp; ' &amp;amp; GetFieldSelections([Year],', ')&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;which works great unless I have January or February selected. (it wil say Jan-Dec even though it should just be jan then for february it says Jan - Jan where it should just say Jan)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 12:53:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-12T12:53:14Z</dc:date>
    <item>
      <title>Set Analysis for selected dates to freeze</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919418#M984535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hello I have a table that I need help with set analysis for.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Sum(Sales) is the sum for each column but I need them to be set at certain date ranges.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The field name is first and is fine as is.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The 2015 column is also fine as is because its a calculation of the first two columns.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;When May 2015 is selected I need the table to look like this.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;When April 2015 is selected, the first column should change to Jan-Mar 2015, the next April 2015,&amp;nbsp; but the last should stay as Jan-Dec 2014.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If &lt;SPAN style="font-size: 13.3333330154419px;"&gt;April &lt;/SPAN&gt;2014 was selected.&lt;SPAN style="font-size: 13.3333330154419px;"&gt; the first column should change to Jan-Mar 2014, the next April 2014,&amp;nbsp; but the last should be Jan-Dec 2013.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95629_Untitled.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 14:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919418#M984535</guid>
      <dc:creator />
      <dc:date>2015-08-11T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for selected dates to freeze</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919419#M984536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can look into this series of blog posts to learn how you can set time ranges using set analysis:&lt;/P&gt;&lt;P&gt;&lt;A href="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting" title="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting"&gt;The Magic of Set Analysis - Point In Time Reporting • Blog • AfterSync&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you understood how the aggregations work, you can use quite similar expressions to create dynamic expression labels. For example, the lable for last column might look like&lt;/P&gt;&lt;P&gt;='Jan - Dec '&amp;amp; max(Year)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression like&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year = {$(=max(Year)-1)}, Month=, Quarter=, Date= &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 19:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919419#M984536</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-11T19:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for selected dates to freeze</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919420#M984537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for responding so quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use that expression and select May as my month, it only shows May 2014 in that column. I need this to always show full year 2014 regardless of what month I have selected for 2015., do you have advice on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also..&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;In the first column I have this as my label expression&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;='Jan - ' &amp;amp; date(if(num(Month)=1,12,num(Month)-1), 'MMM') &amp;amp; '&amp;nbsp;&amp;nbsp; ' &amp;amp; GetFieldSelections([Year],', ')&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;which works great unless I have January or February selected. (it wil say Jan-Dec even though it should just be jan then for february it says Jan - Jan where it should just say Jan)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 12:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-selected-dates-to-freeze/m-p/919420#M984537</guid>
      <dc:creator />
      <dc:date>2015-08-12T12:53:14Z</dc:date>
    </item>
  </channel>
</rss>

