<?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 Script Flag days between start date &amp; yesterday in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Flag-days-between-start-date-yesterday/m-p/275802#M1183436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be able to create a flag in the script for all days between the start date of my data (this is based on the yearstart of the minimum date in my import data) and yesterday.&amp;nbsp; The start date can vary depending on the import data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise I would like to be able to create an additional flag for days between today and the end date of my data.&amp;nbsp; Again the end date can vary depending on the import data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 01:33:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-26T01:33:13Z</dc:date>
    <item>
      <title>Script Flag days between start date &amp; yesterday</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Flag-days-between-start-date-yesterday/m-p/275802#M1183436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be able to create a flag in the script for all days between the start date of my data (this is based on the yearstart of the minimum date in my import data) and yesterday.&amp;nbsp; The start date can vary depending on the import data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise I would like to be able to create an additional flag for days between today and the end date of my data.&amp;nbsp; Again the end date can vary depending on the import data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 01:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Flag-days-between-start-date-yesterday/m-p/275802#M1183436</guid>
      <dc:creator />
      <dc:date>2011-10-26T01:33:13Z</dc:date>
    </item>
    <item>
      <title>Script Flag days between start date &amp; yesterday</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Flag-days-between-start-date-yesterday/m-p/275803#M1183437</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;is this one date field? Then you can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(datefield &amp;lt; today(), 'historie', 'future') AS flag;&lt;/P&gt;&lt;P&gt;select sql *&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you mean this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 05:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Flag-days-between-start-date-yesterday/m-p/275803#M1183437</guid>
      <dc:creator />
      <dc:date>2011-10-26T05:17:49Z</dc:date>
    </item>
  </channel>
</rss>

