<?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 Between two values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422849#M157575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P id="imcontent"&gt;&lt;SPAN style="color: #000000; font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;; font-size: 10pt; direction: ltr; word-wrap: break-word;"&gt;&lt;SPAN id="4295893.0" style="color: #0000ff; font-size: 10pt;"&gt;I've created CLE.ContractExpiringin_days, which is the Start Date less todays date, I would now like to show all those that have an expiry date within the next seven days, i.e. expiring in between 0 and 7 days but seem to have a problem when I use the below. Any thoughts?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;; font-size: 10pt; direction: ltr; word-wrap: break-word;"&gt;&lt;SPAN id="4295893.0" style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CLE.Period Inv_ Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;=7, 'Yes','No') as CLE.ContractExpiringin7days, &lt;/SPAN&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>Tue, 15 Jan 2013 11:17:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-15T11:17:30Z</dc:date>
    <item>
      <title>Between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422849#M157575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P id="imcontent"&gt;&lt;SPAN style="color: #000000; font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;; font-size: 10pt; direction: ltr; word-wrap: break-word;"&gt;&lt;SPAN id="4295893.0" style="color: #0000ff; font-size: 10pt;"&gt;I've created CLE.ContractExpiringin_days, which is the Start Date less todays date, I would now like to show all those that have an expiry date within the next seven days, i.e. expiring in between 0 and 7 days but seem to have a problem when I use the below. Any thoughts?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;; font-size: 10pt; direction: ltr; word-wrap: break-word;"&gt;&lt;SPAN id="4295893.0" style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CLE.Period Inv_ Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;=7, 'Yes','No') as CLE.ContractExpiringin7days, &lt;/SPAN&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>Tue, 15 Jan 2013 11:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422849#M157575</guid>
      <dc:creator />
      <dc:date>2013-01-15T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422850#M157576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to change your expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #800000;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &amp;gt;=0 &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;SPAN style="color: #800000; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;&amp;lt;=7, 'Yes','No') as CLE.ContractExpiringin7days&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 11:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422850#M157576</guid>
      <dc:creator />
      <dc:date>2013-01-15T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Between two values</title>
      <link>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422851#M157577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vincent, nearly worked.&amp;nbsp; it created another problem that it didn't recognise &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin_days&lt;/SPAN&gt;, this was presumably because I'd only just created it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took this out and recreated as below, which seems to have worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CLE.Period Inv_ Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &amp;gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CLE.Period Inv_ Start Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &amp;lt;=7, 'Yes','No') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CLE.ContractExpiringin7days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 11:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-two-values/m-p/422851#M157577</guid>
      <dc:creator />
      <dc:date>2013-01-15T11:40:15Z</dc:date>
    </item>
  </channel>
</rss>

