<?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: current week set analysis syntax. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/current-week-set-analysis-syntax/m-p/508791#M482271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;Week={$(=Week(Today()))}&amp;gt;}&amp;nbsp; Nettobelopp)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or, if you can pre-calculate the current week as a variable in the load script, you could use the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Week={$(vCurrentWeek)}&amp;gt;}&amp;nbsp; Nettobelopp)/1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 22:57:33 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2013-08-20T22:57:33Z</dc:date>
    <item>
      <title>current week set analysis syntax.</title>
      <link>https://community.qlik.com/t5/QlikView/current-week-set-analysis-syntax/m-p/508790#M482270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi currently i have an date field which stretches my weeks association above current week,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e this week is week 33, my field week has assocations to week 54.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i am looking to do is create a set analysis statement using the current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the following without success;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Week(today(Week=&amp;gt;},Nettobelopp)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in normal case of course you can use max(Week) however in my case not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Week={$(=Max(Week))}&amp;gt;}&amp;nbsp; Nettobelopp)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 19:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-week-set-analysis-syntax/m-p/508790#M482270</guid>
      <dc:creator />
      <dc:date>2013-08-20T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: current week set analysis syntax.</title>
      <link>https://community.qlik.com/t5/QlikView/current-week-set-analysis-syntax/m-p/508791#M482271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;Week={$(=Week(Today()))}&amp;gt;}&amp;nbsp; Nettobelopp)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or, if you can pre-calculate the current week as a variable in the load script, you could use the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Week={$(vCurrentWeek)}&amp;gt;}&amp;nbsp; Nettobelopp)/1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 22:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-week-set-analysis-syntax/m-p/508791#M482271</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-08-20T22:57:33Z</dc:date>
    </item>
  </channel>
</rss>

