<?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: How load date from line? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774849#M663115</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;Use WeekStart function, see below, to derive last Saturday's date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WeekStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DateField,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;0,-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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>Wed, 11 Mar 2015 10:50:08 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2015-03-11T10:50:08Z</dc:date>
    <item>
      <title>How load date from line?</title>
      <link>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774846#M663112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've received files with date inside. Now I want update&amp;nbsp; parser to automatically determine the date.&lt;/P&gt;&lt;P&gt;I have two question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- How load date from line? I suppose, first I should determine row with date and them drop 'Data as of:'&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;- On picture below date is '3/1/2015', but this was Sunday and I need to load this data as 'Last Saturday'. Is there any function, that can automatically change date to last Saturday( for example 3/1/2015 - &amp;gt; 2/28/2015)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80353_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Vitaliy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774846#M663112</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2015-03-10T13:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How load date from line?</title>
      <link>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774847#M663113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you mentioned already: Make a separate load with line number two only and extract the date. (In a second go then you would load the data starting with headers at line #5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not quite clear on the date: If it is always Sunday, you may deduct just one day. Else you may work with the function WEEKSTART with parameter offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 14:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774847#M663113</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2015-03-10T14:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How load date from line?</title>
      <link>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774848#M663114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD Subfield(@1,':',2), Date(WeekStart(Date#(Trim(Subfield(@1,':',2)),'MM/DD/YYYY'))+5)&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Input.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/P&gt;&lt;P&gt;Where Index(@1,'Data as of');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 15:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774848#M663114</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-10T15:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How load date from line?</title>
      <link>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774849#M663115</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;Use WeekStart function, see below, to derive last Saturday's date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WeekStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DateField,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;0,-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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>Wed, 11 Mar 2015 10:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-load-date-from-line/m-p/774849#M663115</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-03-11T10:50:08Z</dc:date>
    </item>
  </channel>
</rss>

