<?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: add current week in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399677#M1151872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count ({$&amp;lt;&lt;STRONG&gt;CalendarEnd.Kalenderwoche&lt;/STRONG&gt;= {$(=week(today()))}&amp;gt;}&lt;STRONG&gt;[%MA ID]&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 11:29:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-25T11:29:49Z</dc:date>
    <item>
      <title>add current week in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399676#M1151871</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;I've got some problem with adding a clause for the current week in a set analysis statement.&lt;/P&gt;&lt;P&gt;I am trying to count a number of records within the period of the current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the following to make sure the overall statement is correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count ({$&amp;lt;CalendarEnd.Kalenderwoche = {17}&amp;gt;) [%MA ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'CalendarEnd.Kalenderwoche' represents the weekofYear, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '17' is the current week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so far so good - now i tried to replace the '17' with a phrase to make sure i always get the current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried some diffrent approaches but neither worked. here is one example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= count ({$&amp;lt;CalendarEnd.Kalenderwoche ={=$(=week(today()))}&amp;gt;} [%MA ID]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im sure the there must be a relative easy solution but im get stuck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if anyone is able to help me i would be much obliged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399676#M1151871</guid>
      <dc:creator />
      <dc:date>2013-04-25T11:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: add current week in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399677#M1151872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count ({$&amp;lt;&lt;STRONG&gt;CalendarEnd.Kalenderwoche&lt;/STRONG&gt;= {$(=week(today()))}&amp;gt;}&lt;STRONG&gt;[%MA ID]&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399677#M1151872</guid>
      <dc:creator />
      <dc:date>2013-04-25T11:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: add current week in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399678#M1151873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried, &lt;SPAN style="text-decoration: line-through;"&gt;but it says: &lt;EM&gt;'Error in set modifier element function name'&lt;/EM&gt; Expression is OK, but it shows no results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;I also tried to declare &lt;EM&gt;CurrentWee&lt;/EM&gt;k in the script and then put this as variable into the expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;= count ({$&amp;lt;CalendarEnd.Kalenderwoche ={'(&lt;EM&gt;CurrentWeek&lt;/EM&gt;)'}&amp;gt;} [%MA ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;but it also doesnt work (Expression is OK, but it shows no results)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot - it worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-current-week-in-set-analysis/m-p/399678#M1151873</guid>
      <dc:creator />
      <dc:date>2013-04-25T11:36:43Z</dc:date>
    </item>
  </channel>
</rss>

