<?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: Date Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981997#M335207</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;Try like Below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from ................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE MATCH (CLA_CODE,'MC','M4')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and where MonthName (LOSS_DATE)= 'Oct 2012';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 06:33:02 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2015-10-15T06:33:02Z</dc:date>
    <item>
      <title>Date Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981993#M335203</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;When I load data from my QVD file the condition highlighted in Red does not give the desired values. Pls advise me to rewrite the condition in a better and correct way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from ................&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE MATCH (CLA_CODE,'MC','M4')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;and Month(LOSS_DATE) &amp;amp;'-'&amp;amp; YEAR(LOSS_DATE)&amp;gt;='Oct-2012'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981993#M335203</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2015-10-15T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981994#M335204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Wat abt this?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * from ................&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE MATCH (CLA_CODE,'MC','M4')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and Month(LOSS_DATE)&amp;gt;='Oct' and Year(LOSS_DATE)&amp;gt;='2012'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981994#M335204</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-10-15T06:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981995#M335205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * from ................&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE MATCH (CLA_CODE,'MC','M4')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;and LOSS_DATE&amp;gt;='01/10/2012'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981995#M335205</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-10-15T06:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981996#M335206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A date inequality using strings will not work - you will need to convert these to proper dates so that you have meaningful values to compare. But it looks like LOSS_DATE is already a date value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE ... And LOSS_DATE &amp;gt;= &lt;EM&gt;'2012/10/01'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work if LOSS_DATE is a date value and the date in italics is the default date format for you system/model. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to compare to a string, then:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE ... And LOSS_DATE &amp;gt;= &lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;Date#('Oct-2012', 'MMM-YYYY');&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981996#M335206</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-15T06:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981997#M335207</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;Try like Below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from ................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE MATCH (CLA_CODE,'MC','M4')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and where MonthName (LOSS_DATE)= 'Oct 2012';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Condition/m-p/981997#M335207</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2015-10-15T06:33:02Z</dc:date>
    </item>
  </channel>
</rss>

