<?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 SAP Where DateField &amp;gt; '01-01-2011' Not Working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162730#M36135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;I have list down the field data and see in format (dd-MM-yyyy). Ex. 01-01-2010, 01-01-2011, 01-02-2011&lt;/P&gt;&lt;P&gt;When use where ERDAT &amp;gt; '01-01-2011', like example above it should be return 01-01-2011, 01-02-2011&lt;/P&gt;&lt;P&gt;but after finished load, I got all data (01-01-2010, 01-01-2011, 01-02-2011)&lt;/P&gt;&lt;P&gt;What I do wrong with this?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 05:05:36 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2011-01-11T05:05:36Z</dc:date>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162727#M36132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;Please see the load script below:&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;BR /&gt;&lt;BR /&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;[ConditionDate]:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;AS&lt;/B&gt; [F1],&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ERDAT,'dd.MMM.yyyy') &lt;B&gt;AS&lt;/B&gt; [F2],&lt;/P&gt;&lt;P&gt;NUM(ERDAT) &lt;B&gt;AS&lt;/B&gt; [F3];&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SELECT&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERDAT &amp;gt;= '01-01-2011';&lt;/P&gt;&lt;P&gt;When finished execute script I got all date data. Mean that where condition not working.&lt;/P&gt;&lt;P&gt;Note: I try to get data from SQL Database it ok with condition above, but I face the &lt;STRONG&gt;problem when try with SAP&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Please advice me to do this.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;ERDAT &lt;B&gt;FROM&lt;/B&gt; VBAK&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 04:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162727#M36132</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-01-11T04:45:48Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162728#M36133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAP the date columns wont be format of date mostly it will be like this '!11122010' so pull that in same way then take of character out make the date format in this way&lt;/P&gt;&lt;P&gt;DATE(LEFT([Docdate],2)&amp;amp;'/'&amp;amp;MID([Docdate],4,2)&amp;amp;'/'&amp;amp;RIGHT([Docdate],4),'DD/MM/YYYY') as Docdate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 04:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162728#M36133</guid>
      <dc:creator />
      <dc:date>2011-01-11T04:51:59Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162729#M36134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first check ur ERDAT formate&lt;/P&gt;&lt;P&gt;if it is in datetime formate then ok&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;use date(makedate(left(ERDAT,4),mid(ERDAT,5,2),right(ERDAT,2)),'DD-MM-YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 04:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162729#M36134</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-01-11T04:57:19Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162730#M36135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;I have list down the field data and see in format (dd-MM-yyyy). Ex. 01-01-2010, 01-01-2011, 01-02-2011&lt;/P&gt;&lt;P&gt;When use where ERDAT &amp;gt; '01-01-2011', like example above it should be return 01-01-2011, 01-02-2011&lt;/P&gt;&lt;P&gt;but after finished load, I got all data (01-01-2010, 01-01-2011, 01-02-2011)&lt;/P&gt;&lt;P&gt;What I do wrong with this?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 05:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162730#M36135</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-01-11T05:05:36Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162731#M36136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use where date(makedate(right(ERDAT,4),mid(ERDAT,4,2),left(ERDAT,2)),'DD-MM-YYYY') &amp;gt; '01-01-2011'&lt;/P&gt;&lt;P&gt;for any issue u can post me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 05:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162731#M36136</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-01-11T05:09:53Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162732#M36137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;debug ur data and send the application with 10 records...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 05:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162732#M36137</guid>
      <dc:creator />
      <dc:date>2011-01-11T05:13:23Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162733#M36138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAP the date format is YYYYMMDD. You should be using the ERDAT&amp;gt;='YYYYMMDD'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 06:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162733#M36138</guid>
      <dc:creator />
      <dc:date>2011-01-11T06:24:58Z</dc:date>
    </item>
    <item>
      <title>SAP Where DateField &gt; '01-01-2011' Not Working</title>
      <link>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162734#M36139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one is correct for me ERDAT &amp;gt;'YYYYMMDD'&lt;/P&gt;&lt;P&gt;Many thank everybody!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 06:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAP-Where-DateField-gt-01-01-2011-Not-Working/m-p/162734#M36139</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-01-11T06:54:18Z</dc:date>
    </item>
  </channel>
</rss>

