<?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: Get current week number? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733063#M262641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add this to your calendar table as a flag, then select the flag = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inweek(CalendarDate, '$(vToday)', 0) * -1 AS CW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 11:31:26 GMT</pubDate>
    <dc:creator>struniger</dc:creator>
    <dc:date>2014-07-23T11:31:26Z</dc:date>
    <item>
      <title>Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733062#M262640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a calendar table, I need to set a filter always to current week number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Week number is already in the calendar tale&lt;/P&gt;&lt;P&gt;Now based on today date. I can get the week number&lt;/P&gt;&lt;P&gt;But the furmual is not working&lt;/P&gt;&lt;P&gt;vToday = today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;( {&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;CalendarDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;= {'$(vToday)&lt;BR /&gt;'} &amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;CatalogWeek&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how this can work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733062#M262640</guid>
      <dc:creator />
      <dc:date>2014-07-23T11:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733063#M262641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add this to your calendar table as a flag, then select the flag = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inweek(CalendarDate, '$(vToday)', 0) * -1 AS CW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733063#M262641</guid>
      <dc:creator>struniger</dc:creator>
      <dc:date>2014-07-23T11:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733064#M262642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Week(Today())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733064#M262642</guid>
      <dc:creator>mahesh_agrawal</dc:creator>
      <dc:date>2014-07-23T11:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733065#M262643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;='Week Number ' &amp;amp; ' - ' &amp;amp; Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733065#M262643</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T11:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733066#M262644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan,&lt;/P&gt;&lt;P&gt;it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733066#M262644</guid>
      <dc:creator />
      <dc:date>2014-07-23T11:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733067#M262645</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;SPAN style="font-size: 8pt;"&gt;=Only ({&amp;lt;Week= {'$(=Max(Week))'} &amp;gt;} Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Here Week is which you have created by using your date field eg.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;Week(DateField) AS Week and Date is your DateField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aviral Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733067#M262645</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-07-23T11:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get current week number?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733068#M262646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually this is not what I'm looking for.&lt;/P&gt;&lt;P&gt;but thank for your help and support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-current-week-number/m-p/733068#M262646</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:01:00Z</dc:date>
    </item>
  </channel>
</rss>

