<?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: Load query from Script: 2015 &amp; 2016 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934302#M953651</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;could this script work for you?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM \\$(oEnvironment)\QlikView\Qvds\Cars.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (InYear([Car.Planned Sell Date], Today(), 0) &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;InYear([Car.Planned Sell Date], AddYears(Today(),1), 0))&lt;/P&gt;&lt;P&gt;AND&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;([Activity.Type]='Car Sales - General') ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 15:46:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-18T15:46:44Z</dc:date>
    <item>
      <title>Load query from Script: 2015 &amp; 2016</title>
      <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934300#M953647</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;I am looking to ammend my script to include 2016 data. Currently I am using the InYear expression and a specific car type (as below). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I change this to incorporate 2015, 2016 and my specific car type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM \\$(oEnvironment)\QlikView\Qvds\Cars.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where InYear([Car.Planned Sell Date], Today(), 0) AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([Activity.Type]='Car Sales - General') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934300#M953647</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2015-11-18T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Load query from Script: 2015 &amp; 2016</title>
      <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934301#M953649</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM \\$(oEnvironment)\QlikView\Qvds\Cars.qvd (qvd)&lt;/STRONG&gt;&lt;STRONG style="line-height: 1.5em;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where (InYear([Car.Planned Sell Date], Today(), 0)&lt;SPAN style="color: #ff0000;"&gt; or &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;InYear([Car.Planned Sell Date], AddYears(Today(), 1), 0)&lt;/SPAN&gt;)&lt;/SPAN&gt; AND&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;([Activity.Type]='Car Sales - General');&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934301#M953649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T15:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load query from Script: 2015 &amp; 2016</title>
      <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934302#M953651</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;could this script work for you?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM \\$(oEnvironment)\QlikView\Qvds\Cars.qvd (qvd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (InYear([Car.Planned Sell Date], Today(), 0) &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;InYear([Car.Planned Sell Date], AddYears(Today(),1), 0))&lt;/P&gt;&lt;P&gt;AND&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;([Activity.Type]='Car Sales - General') ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934302#M953651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-18T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load query from Script: 2015 &amp; 2016</title>
      <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934303#M953653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;@Hi knightRaider,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Another solution,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD * FROM \\$(oEnvironment)\QlikView\Qvds\Cars.qvd (qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;where Year([Car.Planned Sell Date]) ='2015' And&amp;nbsp; Year([Car.Planned Sell Date])='2016' AND&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;([Activity.Type]='Car Sales - General') ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Where match(Year([Car.Planned Sell Date]),'2015','2016') And ([Activity.Type]='Car Sales - General');&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934303#M953653</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-18T15:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load query from Script: 2015 &amp; 2016</title>
      <link>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934304#M953655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this,&lt;/P&gt;&lt;P&gt;&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-size: 13.3333px;"&gt;match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;InYear([Car.Planned Sell Date], Today(), 0)&lt;/SPAN&gt;,'2015','2016')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-query-from-Script-2015-2016/m-p/934304#M953655</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-18T15:57:46Z</dc:date>
    </item>
  </channel>
</rss>

