<?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: Comparing one field with two variables in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750529#M720809</link>
    <description>&lt;P&gt;Floor function solved the problem, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 05:38:56 GMT</pubDate>
    <dc:creator>qliknonsense</dc:creator>
    <dc:date>2020-10-08T05:38:56Z</dc:date>
    <item>
      <title>Comparing one field with two variables in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750315#M720806</link>
      <description>&lt;P&gt;Hi, I'm having trouble with this formula:&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;SomeOtherDate={"$(='&amp;gt;=' &amp;amp; Min(Date) &amp;amp; '&amp;lt;=' &amp;amp; Max(Date)"}&amp;gt;} apples)&lt;/P&gt;&lt;P&gt;It filters Min(Date) correctly, but doesn't include Max(Date) in calculation as the comparison operator was '&amp;lt;'.&lt;/P&gt;&lt;P&gt;For example, formula COUNT({&amp;lt;SomeOtherDate={"$(='&amp;gt;=' '2020-09-01') &amp;amp; '&amp;lt;=' &amp;amp; '2020-09-30'"}&amp;gt;} apples)&lt;/P&gt;&lt;P&gt;would include dates 2020-09-01 to 2020-09-29. I want my 2020-09-30 in.&lt;/P&gt;&lt;P&gt;Can somebody help with this issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750315#M720806</guid>
      <dc:creator>qliknonsense</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing one field with two variables in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750327#M720807</link>
      <description>&lt;P&gt;Are you sure that your datamodel hold data for SomeOtherDate = 2020-09-30? If so then make sure that the SomeOtherDate is in fact a date and note a timestamp that holds an decimal value as well?&lt;/P&gt;&lt;P&gt;You could try this expression expanding the interval to the end of the date '2020-09-30 23:59:59'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;COUNT({&amp;lt;SomeOtherDate={"$(='&amp;gt;=' &amp;amp; Min(Date) &amp;amp; '&amp;lt;=' &amp;amp; Max(&lt;STRONG&gt;dayend(&lt;/STRONG&gt;Date&lt;STRONG&gt;)&lt;/STRONG&gt;)"}&amp;gt;} apples)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750327#M720807</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-07T12:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing one field with two variables in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750332#M720808</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;COUNT({&amp;lt;SomeOtherDate={"$(=&amp;gt;2020-09-01&amp;lt;=2020-09-30"}&amp;gt;} apples)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;COUNT({&amp;lt;SomeOtherDate={"$(=&amp;gt;$(=min(otherdate))&amp;lt;=$(=max(otherdate))"}&amp;gt;} apples)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750332#M720808</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-10-07T12:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing one field with two variables in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750529#M720809</link>
      <description>&lt;P&gt;Floor function solved the problem, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 05:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-one-field-with-two-variables-in-set-analysis/m-p/1750529#M720809</guid>
      <dc:creator>qliknonsense</dc:creator>
      <dc:date>2020-10-08T05:38:56Z</dc:date>
    </item>
  </channel>
</rss>

