<?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: Weekname format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303268#M112191</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;What about&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;WeekName(AddYears('21/06/2011', -1))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2011 15:34:31 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-06-20T15:34:31Z</dc:date>
    <item>
      <title>Weekname format</title>
      <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303267#M112190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let say I have Weekname('2011-06-21') which return 2011/25, but behind it is the date of 20/06/2011 (first day of the week).&lt;/P&gt;&lt;P&gt;Now, I need the date of the first day of the same week in 2010 (ie. 2010/25). What would be the simplest solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use AddMonths(Weekname('2011-06-21'),-12), as it won't be accurate&lt;/P&gt;&lt;P&gt;Is there such function Date#('2010/25','YYYY/WW')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The display of '2011/25' must follow a certain format, if behind it stores numeric value. But which format is it?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 15:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303267#M112190</guid>
      <dc:creator />
      <dc:date>2011-06-20T15:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weekname format</title>
      <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303268#M112191</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;What about&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;WeekName(AddYears('21/06/2011', -1))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 15:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303268#M112191</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-20T15:34:31Z</dc:date>
    </item>
    <item>
      <title>Weekname format</title>
      <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303269#M112192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allano.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help&lt;/P&gt;&lt;P&gt;You can use this fuction to create the LY date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="background-color: #c0c0c0;"&gt;MakeWeekDate&lt;A name="kanchor477"&gt;&lt;/A&gt;&lt;A name="MakeWeekDate"&gt;&lt;/A&gt;( &lt;SPAN style="font-style: italic;"&gt;YYYY [ , WW [ , D ] ] &lt;/SPAN&gt;)&lt;/H4&gt;&lt;P&gt;Returns a date calculated from the year &lt;SPAN style="font-style: italic;"&gt;YYYY&lt;/SPAN&gt;&lt;SPAN style="font-style: normal;"&gt;, the week &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;WW&lt;/SPAN&gt;&lt;SPAN style="font-style: normal;"&gt; and the day-of-week &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;D&lt;/SPAN&gt;&lt;SPAN style="font-style: normal;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: normal;"&gt;If no day-of-week is stated, 0 (Monday) is assumed.&lt;/SPAN&gt; &lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;TABLE cellspacing="0" style="margin-top: 14pt; width: 450px; margin-left: 40px;" width="450"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 41%; padding: 7px;" valign="top" width="41%"&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;makeweekdate&lt;SPAN style="font-style: normal; font-weight: bold;"&gt;( 1999,6,6 )&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 26%; padding: 7px;" valign="top" width="26%"&gt;&lt;P&gt;returns&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33%; padding: 7px;" valign="top" width="33%"&gt;&lt;P&gt;1999-02-14&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 41%; padding: 7px;" valign="top" width="41%"&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;makeweekdate&lt;SPAN style="font-style: normal; font-weight: bold;"&gt;( 1999,6 )&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 26%; padding: 7px;" valign="top" width="26%"&gt;&lt;P&gt;returns&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33%; padding: 7px;" valign="top" width="33%"&gt;&lt;P&gt;1999-02-08&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 15:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303269#M112192</guid>
      <dc:creator />
      <dc:date>2011-06-20T15:34:41Z</dc:date>
    </item>
    <item>
      <title>Weekname format</title>
      <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303270#M112193</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;&amp;nbsp;&amp;nbsp; Yes there is a Date#() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But i m not sure in which format it stores it, Date or number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 15:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303270#M112193</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-20T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Weekname format</title>
      <link>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303271#M112194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see if the expressions in the attached qvw file for the various expressions that may give the results you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 17:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekname-format/m-p/303271#M112194</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-20T17:44:28Z</dc:date>
    </item>
  </channel>
</rss>

