<?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: Need a logic for this date data? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788577#M278897</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;seems easy: If you have that LESS THAN flag with the timerange to exclude, that means the date in that flag_field is actually your start_date, so you have to replace 1/1/year with that date.&lt;/P&gt;&lt;P&gt;You can first load your full data_table, then load that comparison_table, then join the two on a suitable field and if you get a LESS THAN date from that comparison_table, then use that, otherwise use 01/01/year as your start_date - you can generate a third field to calculate that.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 10:42:19 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-03-25T10:42:19Z</dc:date>
    <item>
      <title>Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788576#M278896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data from 01/01/2014 to 12/31/2014. here i want to exclude some dates as per my logic.I tried some couple of things but i didnt get any proper output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the excel here.i need all the data except of exclude dates.here i want to exclude all the data which is haing less than Flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example i have a LESS THAN flag and it is having the date -&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;7/17/14&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;i want to exclude all the dates from 01/01/2014 to 07/17/14. i need a data from 07/18/2014.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;Plz suggest me with the logic on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788576#M278896</guid>
      <dc:creator />
      <dc:date>2015-03-25T10:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788577#M278897</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;seems easy: If you have that LESS THAN flag with the timerange to exclude, that means the date in that flag_field is actually your start_date, so you have to replace 1/1/year with that date.&lt;/P&gt;&lt;P&gt;You can first load your full data_table, then load that comparison_table, then join the two on a suitable field and if you get a LESS THAN date from that comparison_table, then use that, otherwise use 01/01/year as your start_date - you can generate a third field to calculate that.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788577#M278897</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-25T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788578#M278898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here i have two dates with two LESS THAN flag values.when i am trying it is taking only one date range only.&lt;/P&gt;&lt;P&gt;i am using it use of for loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 10:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788578#M278898</guid>
      <dc:creator />
      <dc:date>2015-03-25T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788579#M278899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could createa table containing all the dates you want to non include to your data model and use the exists function in your load statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say you have a table with all the dates to exclude in a field named Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, load your fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Load * from FactTable &lt;/P&gt;&lt;P&gt;where not exists(Date,Date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788579#M278899</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2015-03-25T15:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788580#M278900</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;I have dates table that is having 01/01/2014 to 12/31/2014.&lt;/P&gt;&lt;P&gt;i need the list of exclude dates.Plz send me the logic code for this scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 07:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788580#M278900</guid>
      <dc:creator />
      <dc:date>2015-03-26T07:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788581#M278901</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;Check if this helps&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5741"&gt;Calculating Holidays in script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 07:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788581#M278901</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2015-03-26T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need a logic for this date data?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788582#M278902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;Use the below logic.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Date Exclude]&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Dates&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;[..\Data\Date range.xlsx]&lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet1)&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Flag&lt;/SPAN&gt;, 'Less than');&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;noconcatenate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Date:&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;Dates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;[..\Data\Dates 1-12.xlsx]&lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet1)&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;not&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;exists&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Dates&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;drop&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; DateRange; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sindu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 07:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-logic-for-this-date-data/m-p/788582#M278902</guid>
      <dc:creator>sindu_bharathi</dc:creator>
      <dc:date>2015-03-26T07:54:56Z</dc:date>
    </item>
  </channel>
</rss>

