<?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: Syntax where in qvd load not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292090#M858816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if you get the result&lt;/SPAN&gt;,Please close the thread " as answered"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 08:59:37 GMT</pubDate>
    <dc:creator>omkarvamsi</dc:creator>
    <dc:date>2017-02-01T08:59:37Z</dc:date>
    <item>
      <title>Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292070#M858792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me help about this syntax :&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bulan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tanggal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tahun&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\QVD\QvComp.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Where Date(Date#(Bulan &amp;amp; '/' &amp;amp; Tanggal &amp;amp; '/' &amp;amp; Tahun, 'M/D/YYYY')) &amp;lt;= Date(Date#('$(V_PERIODCLOSE)', 'M/D/YYYY'));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the where condition is not working ?&lt;/P&gt;&lt;P&gt;Did I mistake something ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292070#M858792</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292071#M858793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because, qvd doesn't support Where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may do like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bulan&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tanggal&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tahun&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[..\QVD\QvComp.qvd]&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;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Final:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * Resident Sample&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Where Date(Date#(Bulan &amp;amp; '/' &amp;amp; Tanggal &amp;amp; '/' &amp;amp; Tahun, 'M/D/YYYY')) &amp;lt;= Date(Date#('$(V_PERIODCLOSE)', 'M/D/YYYY'));&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 09:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292071#M858793</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-23T09:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292072#M858795</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 you say 'is not working', you mean script error or no data loaded ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 09:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292072#M858795</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2017-01-23T09:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292073#M858796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Because, qvd doesn't support Where condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Not true - qvd's fully support Where/Order By and Group By. Most Where clauses will prevent an optimised load, but a non optimised load will almost certainly be quicker than an optimised load followed by a resident load.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 09:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292073#M858796</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-01-23T09:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292074#M858798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Where Date(Date#(Bulan &amp;amp; '/' &amp;amp; Tanggal &amp;amp; '/' &amp;amp; Tahun), 'M/D/YYYY') &amp;lt;= Date(Date#('$(V_PERIODCLOSE)', 'M/D/YYYY'));&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 10:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292074#M858798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-23T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292075#M858799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of the fields? How is V_PERIODCLOSE defined? The problem is probably in the format of these fields not matching the date interpretation format (M/D/YYYY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: The Date* format commands are unnecessary and irrelevant in the where clause, so this could be written&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where Date#(Bulan &amp;amp; '/' &amp;amp; Tanggal &amp;amp; '/' &amp;amp; Tahun, 'M/D/YYYY') &amp;lt;= Date#('$(V_PERIODCLOSE)', 'M/D/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But you will need to address the format problem.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*Date() is a FORMAT command, it controls the display format of the date, but does not affect the underlying date value.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 10:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292075#M858799</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-01-23T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292076#M858801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No error.&lt;/P&gt;&lt;P&gt;Load all data qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292076#M858801</guid>
      <dc:creator />
      <dc:date>2017-01-24T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292077#M858802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is V_PERIODCLOSE come from :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QvPeriodCloseProduksi:&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT [Period]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note2]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[CreatedBy]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[CreatedDate]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[UpdatedBy]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[UpdatedDate]&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [SPKSMRO].[dbo].[QV_PeriodClose]&lt;/P&gt;&lt;P&gt;&amp;nbsp; where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note1 = 'Produksi';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;STORE QvPeriodCloseProduksi into [..\QVD\QvPeriodCloseProduksi.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET V_PERIODCLOSE = Alt(peek('Period',0,'QvPeriodCloseProduksi'), '');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table QvPeriodCloseProduksi;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292077#M858802</guid>
      <dc:creator />
      <dc:date>2017-01-24T07:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292078#M858804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And here is the main page setting :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292078#M858804</guid>
      <dc:creator />
      <dc:date>2017-01-24T07:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292079#M858805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give us the value of V_PERIODCLOSE ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292079#M858805</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2017-01-24T08:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292080#M858806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try this:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;WHERE Date(MakeDate(Tanggal,Bulan,Tahun))&amp;lt;=Date('$(V_PERIODCLOSE)');&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bulan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tanggal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Tahun&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\QVD\QvComp.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;If it don't work it could be because V_PERIODCLOSE is null, then, on your V_PERIODCLOSE calculation try:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;QvPeriodCloseProduksi:&lt;/P&gt;&lt;P&gt;SQL &lt;/P&gt;&lt;P&gt;SELECT [Period]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note2]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Note3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[CreatedBy]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[CreatedDate]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[UpdatedBy]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[UpdatedDate]&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [SPKSMRO].[dbo].[QV_PeriodClose]&lt;/P&gt;&lt;P&gt;&amp;nbsp; where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note1 = 'Produksi';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;STORE QvPeriodCloseProduksi into [..\QVD\QvPeriodCloseProduksi.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxPeriod:&lt;/P&gt;&lt;P&gt;LOAD MAX(Period) as MaxPeriod RESIDENT QvPeriodCloseProduksi;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET V_PERIODCLOSE = Date(IF(IsNull(peek('MaxPeriod',0,'QvPeriodCloseProduksi'),Today(),peek('MaxPeriod',0,'QvPeriodCloseProduksi')));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table QvPeriodCloseProduksi;&lt;/P&gt;&lt;P&gt;DROP Table MaxPeriod;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards!&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292080#M858806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-24T09:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292081#M858807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I got the results,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;I have used &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt; function to convert date into number so that it can compare dates,and &lt;SPAN style="color: #0000ff;"&gt;make date&lt;/SPAN&gt; is to create a date using d,m,yyyy fields.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please try as below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vperiod_date=&lt;STRONG style=": ; color: #ff0000;"&gt;num&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;(Date(today(),'DD/MM/YYYY'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG style="color: #993300;"&gt;d,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; m,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; yyyy,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG style="color: #993300;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #ff0000;"&gt;num&lt;/SPAN&gt;(Date(MakeDate(yyyy,m,d),'DD/MM/YYYY'))&amp;lt;=$(vperiod_date);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;below is the attachment of sample date which is used.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292081#M858807</guid>
      <dc:creator>omkarvamsi</dc:creator>
      <dc:date>2017-01-24T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292082#M858808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the redundant formatting instructions and simplify your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vperiod_date = num(today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;where MakeDate(yyyy,m,d) &amp;lt;= $(vperiod_date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date() is a FORMATTING instruction that affects how a value is displayed, but has no effect on the underlying value. your use of them here is completely redundant and simply clutters your code with unnecessary complexity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292082#M858808</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-01-24T13:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292083#M858809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using below script,but couldn't able to get results.&lt;/P&gt;&lt;P&gt;Please see and help me without using num ().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vperiod_date=Date(today(),'DD/MM/YYYY'); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD d, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yyyy, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where Date(MakeDate(yyyy,m,d),'DD/MM/YYYY')&amp;lt;=$(vperiod_date);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 10:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292083#M858809</guid>
      <dc:creator>omkarvamsi</dc:creator>
      <dc:date>2017-01-31T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292084#M858810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omkar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe Jonathan missing "num" in where syntax.&lt;/P&gt;&lt;P&gt;I try this and it's worked :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vperiod_date=num(today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD d, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yyyy, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;where num(MakeDate(yyyy,m,d))&amp;lt;=$(vperiod_date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292084#M858810</guid>
      <dc:creator />
      <dc:date>2017-02-01T02:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292085#M858811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_PERIODCLOSE&amp;nbsp; = 2016-11-30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292085#M858811</guid>
      <dc:creator />
      <dc:date>2017-02-01T02:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292086#M858812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aurelien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of V_PERIODCLOSE is 2016-11-30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292086#M858812</guid>
      <dc:creator />
      <dc:date>2017-02-01T02:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292087#M858813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omkar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try your sample, and it's work.&lt;/P&gt;&lt;P&gt;But if the where condition :&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #ff0000;"&gt;num&lt;/SPAN&gt;(Date(MakeDate(yyyy,m,d),'DD/MM/YYYY'))&amp;lt;=$(vperiod_date);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #ff0000;"&gt;num&lt;/SPAN&gt;(Date(MakeDate(yyyy,m,d),'DD/MM/YYYY'))&amp;lt;=$(V_PERIODCLOSE);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;The value of V_PERIODCLOSE is 2016-11-30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Gunawan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292087#M858813</guid>
      <dc:creator />
      <dc:date>2017-02-01T02:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292088#M858814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try with this :&lt;/P&gt;&lt;P&gt;LET V_PESAN = MsgBox(V_PERIODCLOSE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the result is 2016-11-30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292088#M858814</guid>
      <dc:creator />
      <dc:date>2017-02-01T02:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax where in qvd load not working</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292089#M858815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you have to change date format like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;num&lt;/SPAN&gt;(Date(MakeDate(yyyy,m,d),'YYYY-MM-DD'))&amp;lt;=$(vperiod_date);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;make sure both the date formats using in where condition to be same.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 05:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-where-in-qvd-load-not-working/m-p/1292089#M858815</guid>
      <dc:creator>omkarvamsi</dc:creator>
      <dc:date>2017-02-01T05:39:48Z</dc:date>
    </item>
  </channel>
</rss>

