<?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: Creating a week field based on system date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123166#M633320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay let me clarify you one thing. I have date field like&lt;/P&gt;&lt;P&gt;Postdate&lt;/P&gt;&lt;P&gt;05/04/2016&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/09/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/15/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/17/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create weekend dates for respective records&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Postdate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; CreatedWeendend&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;05/04/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/08/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/09/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/15/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/12/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/0152016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/17/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/22/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Prashanth&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 14:01:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-03T14:01:36Z</dc:date>
    <item>
      <title>Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123160#M633314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a weekend dates field using system date and weekend date should be every Sunday??&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Weekend&lt;/P&gt;&lt;P&gt;05/01/2016&lt;/P&gt;&lt;P&gt;05/08/2016&lt;/P&gt;&lt;P&gt;05/15/2016&lt;/P&gt;&lt;P&gt;05/22/2016&lt;/P&gt;&lt;P&gt;05/29/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;likewise for every month??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123160#M633314</guid>
      <dc:creator />
      <dc:date>2016-06-03T13:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123161#M633315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the significane of system date here? WeekEnd would be a weekend right, or am I missing something important here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123161#M633315</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123162#M633316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I strongly recommend you in the Master calendar just add one additional flag like:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14649611747324448" jivemacro_uid="_14649611747324448" modifiedtitle="true"&gt;
&lt;P&gt;If(weekday(date) = 6, 1, 0) as Weekend_flag;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123162#M633316</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-06-03T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123163#M633317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one date field in data, but i should not use that date field to get the weekend dates, so i thought that it can be done using system date, if any other possibility, let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123163#M633317</guid>
      <dc:creator />
      <dc:date>2016-06-03T13:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123164#M633318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once again. I am not sure what system date needs to do here? System date should be 06/03/2015 (today), what does that need to do with the weekend? Do you just want the weekend based on Today's date? try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WeekEnd(Today(), 0, 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123164#M633318</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T13:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123165#M633319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have only one date field which i should not use to create weekend dates field. so i thought like system will do the job. Is there any possibility to get the same without any date column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 13:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123165#M633319</guid>
      <dc:creator />
      <dc:date>2016-06-03T13:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123166#M633320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay let me clarify you one thing. I have date field like&lt;/P&gt;&lt;P&gt;Postdate&lt;/P&gt;&lt;P&gt;05/04/2016&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/09/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/15/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/17/2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create weekend dates for respective records&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Postdate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; CreatedWeendend&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;05/04/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/08/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/09/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/15/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/12/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/0152016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;05/17/2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;05/22/2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Prashanth&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123166#M633320</guid>
      <dc:creator />
      <dc:date>2016-06-03T14:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123167#M633321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;SET FirstWeekDay=0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Postdate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekEnd(Postdate, 0, 0) as CreatedWeendend&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE: &lt;BR /&gt;&lt;/STRONG&gt;Added an environmental variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123167#M633321</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123168#M633322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry to confuse you, but I should not use the Post date field. Any other way that can do the job??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123168#M633322</guid>
      <dc:creator />
      <dc:date>2016-06-03T14:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123169#M633323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if you are using Postdate as reference point, how can you not use it? Outside QlikView how would you do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123169#M633323</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T14:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123170#M633324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a scenario like, &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Week1&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Post date&lt;/P&gt;&lt;P&gt;03/31/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Week2&lt;/STRONG&gt;:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Post date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;03/31/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Week3&lt;/STRONG&gt;:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Post date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;03/31/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Week1:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Post date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;03/31/2016&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;......&lt;/P&gt;&lt;P&gt;for a ticket which is pending in every week (I am getting data weekly), and I have number of tickets of this type.&lt;/P&gt;&lt;P&gt;I need to calculate how many tickets are pending greater than 7 days,&lt;/P&gt;&lt;P&gt;For the&amp;nbsp; scenario above mentioned, It should be counted in every week(expect first week).&lt;/P&gt;&lt;P&gt;For this purpose I need create a weekend for every week as I mention above.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If I use the Post date to create the weekend, in every i am getting the same weekend)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123170#M633324</guid>
      <dc:creator />
      <dc:date>2016-06-03T16:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123171#M633325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh so you might need another date which is not linked to Postdate and may be do an IntervalMatch between Postdate as start date and Today as enddate and the mastercalendar to make this to work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123171#M633325</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T16:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123172#M633326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly, and could you please elaborate to implement the same at script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If I have to use the mastercalndar I must use on date field, I should not use the one I have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123172#M633326</guid>
      <dc:creator />
      <dc:date>2016-06-03T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a week field based on system date?</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123173#M633327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126829_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Tickets,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Postdate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(WeekEnd(Postdate, 0, 0) + (7 * IterNo()) - 7) as CreatedWeendend&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While WeekEnd(Postdate, 0, 0) + (7 * IterNo()) - 7 &amp;lt;= WeekEnd(Today(), 0, 0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tickets, Postdate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 05/04/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 05/09/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 05/15/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 05/17/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-week-field-based-on-system-date/m-p/1123173#M633327</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T16:32:40Z</dc:date>
    </item>
  </channel>
</rss>

