<?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: How to only show current week (and year) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420609#M1150231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;Week={$(vThisWeek)}, Year={$(vThisYear)}&amp;gt;} Flagga_Kontakt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put into your variables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateToday = num(Date(Today(), 'YYYY-MM-DD'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could just say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vThisYear = num(Year(Today())&lt;/P&gt;&lt;P&gt;Let vDateToday = num(Today())&lt;/P&gt;&lt;P&gt;LET vThisWeektext = Week(vDateToday);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember if you use variaables with dates and not NUM infront, you need to put ' ' before your variables in your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 12:11:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-02T12:11:03Z</dc:date>
    <item>
      <title>How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420607#M1150229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a small problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a textbox in wich I want to show number of calls this week, now it looks like this (Flagga_Kontakt, represent number of incoming calls):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://=sum({&amp;lt;Vecka={$(#=week(today()))}&amp;gt;} Flagga_Kontakt)"&gt;=sum({&amp;lt;Week={$(#=week(today()))}&amp;gt;} Flagga_Kontakt)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is that it shows the sum of calls from both this week 2013 and same week the past years. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420607#M1150229</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2013-05-02T12:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420608#M1150230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need a field "year"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://=sum({&amp;lt;Vecka={$(#=week(today()))}&amp;gt;} Flagga_Kontakt)"&gt;=sum({&amp;lt;Week={$(#=week(today()))=}&amp;gt;} Flagga_Kontakt)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to add the condition in set analysis year={$(=year(today()))}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420608#M1150230</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-05-02T12:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420609#M1150231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;Week={$(vThisWeek)}, Year={$(vThisYear)}&amp;gt;} Flagga_Kontakt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put into your variables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateToday = num(Date(Today(), 'YYYY-MM-DD'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could just say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vThisYear = num(Year(Today())&lt;/P&gt;&lt;P&gt;Let vDateToday = num(Today())&lt;/P&gt;&lt;P&gt;LET vThisWeektext = Week(vDateToday);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember if you use variaables with dates and not NUM infront, you need to put ' ' before your variables in your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420609#M1150231</guid>
      <dc:creator />
      <dc:date>2013-05-02T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420610#M1150232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://=sum%28%7B%3CVecka=%7B$%28#=week%28today%28%29%29%29%7D%3E%7D%20Flagga_Kontakt%29"&gt;=sum({&amp;lt;Week={$(=week(today()))}&amp;gt;} Flagga_Kontakt)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={$(=year(today()))}, Week={$(=week(today()))}&amp;gt;} Flagga_Kontakt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420610#M1150232</guid>
      <dc:creator />
      <dc:date>2013-05-02T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420611#M1150233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This shows the exact same numbers as before. It still shows totals of all years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420611#M1150233</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2013-05-02T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420612#M1150235</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;sum({&amp;lt;year={$(=year(today()))}, Week={$(=week(today()))}&amp;gt;} Flagga_Kontakt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420612#M1150235</guid>
      <dc:creator />
      <dc:date>2013-05-02T12:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to only show current week (and year)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420613#M1150236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that worked just fine!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-show-current-week-and-year/m-p/420613#M1150236</guid>
      <dc:creator>Meg00</dc:creator>
      <dc:date>2013-05-02T12:25:13Z</dc:date>
    </item>
  </channel>
</rss>

