<?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 Select a week from a selected date in a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174052#M43019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sí hablo español.&lt;/P&gt;&lt;P&gt;datepart es una función de vbscript, porque según entiendo lo quieres usar en una macro, no? Y ahí puedes usar vbscript y/o jscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aquí hay más información de la función si quieres:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.w3schools.com/VBscript/func_datepart.asp"&gt;http://www.w3schools.com/VBscript/func_datepart.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2009 00:18:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-03T00:18:17Z</dc:date>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174047#M43014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a macro i wrote a code that select a year, month and day, I select the values from today() function. In a model i have too a year-week, i need to select this field from another data, ie, year + month + day, all in a macro...&lt;/P&gt;&lt;P&gt;If i use the function week() in a macro it does not work.&lt;/P&gt;&lt;P&gt;any idea...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 22:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174047#M43014</guid>
      <dc:creator>urivera</dc:creator>
      <dc:date>2009-09-02T22:57:16Z</dc:date>
    </item>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174048#M43015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with datepart("ww", date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 23:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174048#M43015</guid>
      <dc:creator />
      <dc:date>2009-09-02T23:08:15Z</dc:date>
    </item>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174049#M43016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format is your week column in? We use WWYYYY a lot.&lt;/P&gt;&lt;P&gt;Week() will give you the WW and WeekYear() should give you the YYYY. You probably want:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Week(Today()) &amp;amp; WeekYear(Today())&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 23:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174049#M43016</guid>
      <dc:creator />
      <dc:date>2009-09-02T23:10:32Z</dc:date>
    </item>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174050#M43017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dragonauta,&lt;/P&gt;&lt;P&gt;Do you speak spanish?, ok, can you explain datepart function pls, i cannot find this command in QV manuals...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thks.&lt;/P&gt;&lt;P&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, 02 Sep 2009 23:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174050#M43017</guid>
      <dc:creator>urivera</dc:creator>
      <dc:date>2009-09-02T23:25:44Z</dc:date>
    </item>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174051#M43018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think DatePart is a QlikView function. I know it exists in T/SQL and VBScript though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 23:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174051#M43018</guid>
      <dc:creator />
      <dc:date>2009-09-02T23:32:34Z</dc:date>
    </item>
    <item>
      <title>Select a week from a selected date in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174052#M43019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sí hablo español.&lt;/P&gt;&lt;P&gt;datepart es una función de vbscript, porque según entiendo lo quieres usar en una macro, no? Y ahí puedes usar vbscript y/o jscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aquí hay más información de la función si quieres:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.w3schools.com/VBscript/func_datepart.asp"&gt;http://www.w3schools.com/VBscript/func_datepart.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 00:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-week-from-a-selected-date-in-a-macro/m-p/174052#M43019</guid>
      <dc:creator />
      <dc:date>2009-09-03T00:18:17Z</dc:date>
    </item>
  </channel>
</rss>

