<?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 different Date fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-different-Date-fields/m-p/795601#M281097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;today I work with one Date field.&lt;BR /&gt;As from a selected range, the meaning of the Date field changed to another field named Date2.&lt;/P&gt;&lt;P&gt;I have to select the Data as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From 100000 to 344999 the field Date contains the correct Date&lt;BR /&gt;From 350000 to 999999 the field Date2 contains the correct Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data should run together and named Date &lt;BR /&gt;to have clear structured Qlik - Data at the end of the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data are collected from a *.txt file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea? Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 14:43:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-08T14:43:08Z</dc:date>
    <item>
      <title>Select different Date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Select-different-Date-fields/m-p/795601#M281097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;today I work with one Date field.&lt;BR /&gt;As from a selected range, the meaning of the Date field changed to another field named Date2.&lt;/P&gt;&lt;P&gt;I have to select the Data as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From 100000 to 344999 the field Date contains the correct Date&lt;BR /&gt;From 350000 to 999999 the field Date2 contains the correct Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data should run together and named Date &lt;BR /&gt;to have clear structured Qlik - Data at the end of the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data are collected from a *.txt file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea? Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-different-Date-fields/m-p/795601#M281097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select different Date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Select-different-Date-fields/m-p/795602#M281098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i am not sure i understand exactely&amp;nbsp; your question.&lt;/P&gt;&lt;P&gt;but you can try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp0:&lt;/P&gt;&lt;P&gt;load * 1 as flag from matable where mykey&amp;gt;1000000 and mykey&amp;lt;3449999;&lt;/P&gt;&lt;P&gt;load * 2 as flag from matable where mykey&amp;gt;3500000 and mykey&amp;lt;9999999;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mytablefinaly:&lt;/P&gt;&lt;P&gt;load *, if(flag=1, date, date2) as datecorret resident temp0;&lt;/P&gt;&lt;P&gt;drop table temp0;&lt;/P&gt;&lt;P&gt;drop fields date, date2 from mytablefinaly;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-different-Date-fields/m-p/795602#M281098</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2014-12-08T14:52:28Z</dc:date>
    </item>
  </channel>
</rss>

