<?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 Week Ending Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843895#M1010129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field that needs to be converted to a week end date. The week ends on Tuesdays so the date should always convert to the following Tuesday unless the date is Tuesday itself then the value is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be setup in the load script? Thank you so much for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 17:49:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-28T17:49:00Z</dc:date>
    <item>
      <title>Week Ending Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843895#M1010129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field that needs to be converted to a week end date. The week ends on Tuesdays so the date should always convert to the following Tuesday unless the date is Tuesday itself then the value is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be setup in the load script? Thank you so much for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 17:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843895#M1010129</guid>
      <dc:creator />
      <dc:date>2015-04-28T17:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Week Ending Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843896#M1010130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(floor(weekend(yourdate,0,2)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 18:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843896#M1010130</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-28T18:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Week Ending Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843897#M1010131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the WeekEnd function. The third parameter can be used to specify an offset in case the last day of the week is not Sunday. So WeekEnd(MyDate, 0, 2) should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 18:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-Ending-Syntax/m-p/843897#M1010131</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-28T18:36:04Z</dc:date>
    </item>
  </channel>
</rss>

