<?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 Exclude data between two dates in qvd in script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005241#M83191</link>
    <description>&lt;P&gt;Dear experts,&lt;/P&gt;
&lt;P&gt;I have a set of data multiple attributes including create_date and start_date.&lt;/P&gt;
&lt;P&gt;During the next year, i have to limit the data&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From all the registers, I have filter those ones that either started or where created after 01-03-2019 BUT I have to EXCLUDE those that were created and started in between 20200301 and 20210301.&lt;/P&gt;
&lt;P&gt;Is there a way to EXCLUDE a range of dates?&lt;/P&gt;
&lt;P&gt;What I need is something like this:&lt;/P&gt;
&lt;P&gt;load *&lt;/P&gt;
&lt;P&gt;FROM [lib://XXXXXXXX.qvd] (qvd)&lt;/P&gt;
&lt;P&gt;where (create_date &amp;gt;= '2019301' or start_date &amp;gt;= '20190301') and ''EXCLUDE''&lt;/P&gt;
&lt;P&gt;(create_date &amp;gt;= '2020301' and start_date &amp;lt; '20210301')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 11:29:09 GMT</pubDate>
    <dc:creator>ruben_moya</dc:creator>
    <dc:date>2022-11-16T11:29:09Z</dc:date>
    <item>
      <title>Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005241#M83191</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;
&lt;P&gt;I have a set of data multiple attributes including create_date and start_date.&lt;/P&gt;
&lt;P&gt;During the next year, i have to limit the data&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From all the registers, I have filter those ones that either started or where created after 01-03-2019 BUT I have to EXCLUDE those that were created and started in between 20200301 and 20210301.&lt;/P&gt;
&lt;P&gt;Is there a way to EXCLUDE a range of dates?&lt;/P&gt;
&lt;P&gt;What I need is something like this:&lt;/P&gt;
&lt;P&gt;load *&lt;/P&gt;
&lt;P&gt;FROM [lib://XXXXXXXX.qvd] (qvd)&lt;/P&gt;
&lt;P&gt;where (create_date &amp;gt;= '2019301' or start_date &amp;gt;= '20190301') and ''EXCLUDE''&lt;/P&gt;
&lt;P&gt;(create_date &amp;gt;= '2020301' and start_date &amp;lt; '20210301')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 11:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005241#M83191</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2022-11-16T11:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005280#M83193</link>
      <description>&lt;P&gt;you already wrote the condition&lt;BR /&gt;but you need to make sure that the dates in the QVD file are of the same format that you are using in the where condition&lt;BR /&gt;if they are the same then you need to remove the single quotes from the values you are supplying in the where condition&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 12:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005280#M83193</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-11-16T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005281#M83194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the answer, but i need the Excluding part. There is no such an 'exclude' function as far as I know.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 12:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005281#M83194</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2022-11-16T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005557#M83213</link>
      <description>&lt;P&gt;G'day&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/23991"&gt;@ruben_moya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I think what you're asking for is this ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;where (create_date &amp;gt;= '20190301' or start_date &amp;gt;= '20190301')
  and not (create_date &amp;gt;= '20200301' and start_date &amp;lt; '20210301')&lt;/LI-CODE&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 21:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005557#M83213</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2022-11-16T21:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005653#M83218</link>
      <description>&lt;P&gt;I think you mean by&amp;nbsp;&lt;STRONG&gt;EXCLUDE&amp;nbsp;&lt;/STRONG&gt;-&amp;gt; NOT&lt;BR /&gt;so your where condition would be :&lt;BR /&gt;and NOT&amp;nbsp;&lt;SPAN&gt;(create_date &amp;gt;= '2020301' and start_date &amp;lt; '20210301')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005653#M83218</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-11-17T07:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude data between two dates in qvd in script</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005911#M83240</link>
      <description>&lt;P&gt;Really? was it that simple? that's awkward...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot guys!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-data-between-two-dates-in-qvd-in-script/m-p/2005911#M83240</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2022-11-17T13:58:54Z</dc:date>
    </item>
  </channel>
</rss>

