<?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: Max week set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99051#M15832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;add {1}&amp;nbsp; to max(..):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;_WeekSerial = {$(=max({1}[_WeekSerial]))}&amp;gt;} [Count])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 16:15:17 GMT</pubDate>
    <dc:creator>jmmolero</dc:creator>
    <dc:date>2018-08-20T16:15:17Z</dc:date>
    <item>
      <title>Max week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99049#M15830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my Dashboard KPI, I want to show the data of the current week regardless of any other selections made (this value should never change).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following expression is what I used:&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;_WeekSerial = {$(=max(_WeekSerial))}&amp;gt;} [Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the set identifier {1} was used for this exact purpose, however when I select another month it will still take the last week of that month only. I'm guessing this is because of =max().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way to do it, without adding any variable or changing anything in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 09:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99049#M15830</guid>
      <dc:creator>klam0001</dc:creator>
      <dc:date>2018-08-19T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Max week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99050#M15831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;STRONG&gt;=Sum({1&amp;lt;_WeekSerial = {$(=max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; _WeekSerial))}&amp;gt;} [Count])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99050#M15831</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-20T16:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Max week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99051#M15832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;add {1}&amp;nbsp; to max(..):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;_WeekSerial = {$(=max({1}[_WeekSerial]))}&amp;gt;} [Count])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-week-set-analysis/m-p/99051#M15832</guid>
      <dc:creator>jmmolero</dc:creator>
      <dc:date>2018-08-20T16:15:17Z</dc:date>
    </item>
  </channel>
</rss>

