<?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: Problem using greater than or equal in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/976000#M467702</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;Awesooooooooooome &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follows and Precedes are perfect suggestion.&lt;/P&gt;&lt;P&gt;I have never tried Follows and Precedes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Swuehl for highlighting this relational operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are truly Legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one request, If you have any book or any document which gives us idea about all functions. then Please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 04:18:33 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2015-10-29T04:18:33Z</dc:date>
    <item>
      <title>Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975993#M467695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've searched and read suggestions but nothing has worked yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 11.20 SR 7 on Windows 8.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use set analysis in an expression in a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;APPLICATION_TERM_CNENR={"2015B","2015C","2016A"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to do something like:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;APPLICATION_TERM_CNENR&amp;gt;={"2015B"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes sense it wouldn't work because the &amp;gt; would be interpreted as the end of the search condition not as greater than.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things like the following don't work (trying single and double quotes)&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;APPLICATION_TERM_CNENR={'&amp;gt;="2015B"'}&amp;gt;} DEPOSIT_AMT_PAID_CNENR) &lt;/P&gt;&lt;P&gt;or SUM({$&amp;lt;APPLICATION_TERM_CNENR={"&amp;gt;='2015B'"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was surprised that the following didn't work, it seemed like there were examples nearly like that.&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;left(APPLICATION_TERM_CNENR,4)={"&amp;gt;=2015"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It needs to see &amp;gt;= as a comparison and then 2015B as a text string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I misunderstand here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 19:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975993#M467695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975994#M467696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&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;SUM({$&amp;lt;APPLICATION_TERM_CNENR = {"=APPLICATION_TERM_CNENR follows '2015A'"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975994#M467696</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-27T20:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975995#M467697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe without SA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(if(APPLICATION_TERM_CNENR &amp;gt;= '2015B', DEPOSIT_AMT_PAID_CNENR))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 20:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975995#M467697</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-27T20:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975996#M467698</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;You can not compare string using numeric operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this you can try below&lt;/P&gt;&lt;P&gt;1: Create new field in script&lt;/P&gt;&lt;P&gt;left(APPLICATION_TERM_CNENR,4) as New_fieldName,&lt;/P&gt;&lt;P&gt;2: Use above field in your set analysis.&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;New_fieldName={"&amp;gt;=2015"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : In Set Analysis you can not use Calculated field on Left side of =.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For that you have to create calculated field in script and use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 04:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975996#M467698</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-10-28T04:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975997#M467699</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;Relational operator cannot be used to compare strings. Hence you can split the Filed into two, one will be holding say Year='2015' and Order or Sequence='A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will be able to achieve this by comparing those fields. you can use string functions to split the column into two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact we can make the comparison more generic if you have the field splitted into two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975997#M467699</guid>
      <dc:creator>arasantorule</dc:creator>
      <dc:date>2015-10-28T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975998#M467700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works. I don't understand why it works. I haven't found documentation of the 'follows' comparison.&lt;/P&gt;&lt;P&gt;Why does {"=APPLICATION_TERM_CNENR follows '2015A'"} work as the right side of the comparison? It seems like it would be evaluated as 'YES' 'NO'.&lt;/P&gt;&lt;P&gt;Is there documentation anywhere of this sort of comparison?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975998#M467700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T13:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975999#M467701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;precedes&lt;/EM&gt; and &lt;EM&gt;follows&lt;/EM&gt; are explained in section 'relational operators' in the HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrary to max dreamer, I think this should also work:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;APPLICATION_TERM_CNENR = {"=APPLICATION_TERM_CNENR &amp;gt; '2015A'"}&amp;gt;} DEPOSIT_AMT_PAID_CNENR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the search expression is indeed returning true / false per field value of APPLICATION_TERM_CNENR, similar to an advanced search like&lt;/P&gt;&lt;P&gt;{&amp;lt;Customer = {"=sum(Sales) &amp;gt;0"}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/975999#M467701</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-28T16:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using greater than or equal in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/976000#M467702</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;Awesooooooooooome &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follows and Precedes are perfect suggestion.&lt;/P&gt;&lt;P&gt;I have never tried Follows and Precedes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Swuehl for highlighting this relational operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are truly Legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one request, If you have any book or any document which gives us idea about all functions. then Please share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 04:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-greater-than-or-equal-in-set-analysis/m-p/976000#M467702</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-10-29T04:18:33Z</dc:date>
    </item>
  </channel>
</rss>

