<?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 - Any Other Criteria With Fixed Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850329#M470975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So its not working again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. What exactly is the issue. Can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 18:46:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-16T18:46:05Z</dc:date>
    <item>
      <title>Set Analysis - Any Other Criteria With Fixed Date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850325#M470971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to show the 13 week average but want to allow any criteria selection to adjust this total (including the dates (i.e. users can look at last week or the previous compared to the 13 week avg)). I think the answer is close but my troubleshooting is going in circles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the 13 weeks set. This appears&amp;nbsp; complex but I only want to show the last 13 weeks in an environment which has future ship dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;ShipCalWeekStart = {'&amp;gt;=$(=WeekStart(Max({1&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-13))&amp;lt;=$(=WeekStart(Max({1&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-1))'}&amp;gt;} ShipmentTotal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add The Identifier {1} to look at the complete application as I want for the dates. I then lock out the many criteria sections I wish users to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum({1&amp;lt;ShipCalWeekStart = {'&amp;gt;=$(=WeekStart(Max({1&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-13))&amp;lt;=$(=WeekStart(Max({1&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-1))'}&amp;gt;} ShipmentTotal)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;What am i missing to allow for Criteria 1,2,3....to show their 13 week avg?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Appreciate the help. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 14:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850325#M470971</guid>
      <dc:creator />
      <dc:date>2015-04-16T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Any Other Criteria With Fixed Date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850326#M470972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want the expression to always choose the max week regardless of the selection made? If not, what if you use 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;&lt;STRONG&gt;sum({&amp;lt;ShipCalWeekStart = {'&amp;gt;=$(=WeekStart(Max({&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-13))&amp;lt;=$(=WeekStart(Max({&amp;lt;ShipDate = {'&amp;lt;=$(=today())'}&amp;gt;} ShipCalWeekStart),-1))'}&amp;gt;} ShipmentTotal)&lt;/STRONG&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;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;1 is limiting your results after selection. If a particular selection does not land up between your 13 day period, you would see a 0 as output.&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;HTH&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;Best,&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;Sunny&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 15:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850326#M470972</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-16T15:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Any Other Criteria With Fixed Date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850327#M470973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did this finally worked out? What was going wrong, I am curious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850327#M470973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-16T18:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Any Other Criteria With Fixed Date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850328#M470974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cleaning up the thread. This is not resolved. Original Post still applies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850328#M470974</guid>
      <dc:creator />
      <dc:date>2015-04-16T18:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Any Other Criteria With Fixed Date</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850329#M470975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So its not working again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. What exactly is the issue. Can you share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Any-Other-Criteria-With-Fixed-Date/m-p/850329#M470975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-16T18:46:05Z</dc:date>
    </item>
  </channel>
</rss>

