<?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: Filter by date variable in load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497797#M1133954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try $(vdate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Nov 2013 10:40:00 GMT</pubDate>
    <dc:creator>bruno_m_santos</dc:creator>
    <dc:date>2013-11-08T10:40:00Z</dc:date>
    <item>
      <title>Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497796#M1133953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to load in data based on the date variable created using calendar object (in DD/MM/YYYY format). The date in the database (MS Access) is also in the short format.&lt;/P&gt;&lt;P&gt;When I try to select the date from the calendar object &amp;amp; trigger reload , I am unable to load the extract the data based on the selected date.&lt;/P&gt;&lt;P&gt;However it works using today function as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Account,Currency, Cal_date Where Match(Date(Cal_date),date(today()));&lt;/P&gt;&lt;P&gt;SQL SELECT Account,Currency, Cal_date FROM `Currentdata` ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me in the resolving it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Account,Currency, Cal_date Where Match(Date(Cal_date),vdate);&lt;/P&gt;&lt;P&gt;SQL SELECT Account,Currency, Cal_date FROM `Currentdata` ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( note : vdate is the variable created in QV and linked to the calendar object, i tried using $vdate and &amp;amp;vdate it does not work.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497796#M1133953</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497797#M1133954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try $(vdate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497797#M1133954</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2013-11-08T10:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497798#M1133956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try '$(vdate)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497798#M1133956</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-11-08T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497799#M1133958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you pute =$(vdate) in a text box , what value is displayed?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497799#M1133958</guid>
      <dc:creator>bruno_m_santos</dc:creator>
      <dc:date>2013-11-08T10:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497800#M1133960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno, I tried it but does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking some format issue, because if I use '08/11/2013' it works but using $(vdate)&lt;/P&gt;&lt;P&gt;Any other options ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance, Kamal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497800#M1133960</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497801#M1133962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert and Bruno.. it worked now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497801#M1133962</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by date variable in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497802#M1133964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kamal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are saying you create vdate when creating the calendar table? I'm just thinking vdate might not exist yet in the case you have the mastercalendar creation in the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I would create two new fields in the sam table, one with result of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Cal_date)&lt;/SPAN&gt; and one with $(vdate) and check if the format seems to match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 10:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-by-date-variable-in-load-statement/m-p/497802#M1133964</guid>
      <dc:creator />
      <dc:date>2013-11-08T10:57:45Z</dc:date>
    </item>
  </channel>
</rss>

