<?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 Set Analysis with Greater than and Less than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232687#M502676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I had the syntax down, but I guess I don't. Need a little help.&lt;/P&gt;&lt;P&gt;Thanks Thom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;{"len[Cancel Reason] &amp;gt; 0, [Cancel Reason &amp;lt;&amp;gt;{14}"}&amp;gt;} [Non Accepted Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum Non Accepted Sales if the length of my cancel reason is greater than 0 and cancel reason not equal to 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Oct 2010 15:33:38 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2010-10-08T15:33:38Z</dc:date>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232687#M502676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I had the syntax down, but I guess I don't. Need a little help.&lt;/P&gt;&lt;P&gt;Thanks Thom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;{"len[Cancel Reason] &amp;gt; 0, [Cancel Reason &amp;lt;&amp;gt;{14}"}&amp;gt;} [Non Accepted Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum Non Accepted Sales if the length of my cancel reason is greater than 0 and cancel reason not equal to 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232687#M502676</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-08T15:33:38Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232688#M502677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think is something like this:&lt;/P&gt;&lt;P&gt;&lt;B&gt;sum({$&amp;lt;[Cancel Reason]={len(&lt;/B&gt;&lt;B&gt;Cancel Reason&lt;/B&gt;&lt;B&gt;) &amp;gt; 0}, [&lt;/B&gt;&lt;B&gt;Cancel Reason&lt;/B&gt;&lt;B&gt;]=-{14}&amp;gt;} [Non AcceptedSales])&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232688#M502677</guid>
      <dc:creator />
      <dc:date>2010-10-08T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232689#M502678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I no tested.....the len part i think is wrong.....i will try and post again!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232689#M502678</guid>
      <dc:creator />
      <dc:date>2010-10-08T15:50:16Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232690#M502679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Cancel Reason] -= {14} * {"=len([Cancel Reason])&amp;lt;0"}&amp;gt;} [Non Accepted Sales])&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Cancel Reason] = {"=[Cancel Reason] = 14 and len([Cancel Reason])&amp;gt;0"}&amp;gt;} [Non Accepted Sales])&lt;/P&gt;&lt;P&gt;You always have to put the field={} in set analysis and then the set that you want to filter within {} and if the search is dynamci it should always begin with a equal sign {"= expression "}.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 15:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232690#M502679</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-08T15:53:53Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232691#M502680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for cancel reason code to be equal to anything but '14' or a space, because a space is a good sale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232691#M502680</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-10-08T16:33:48Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Greater than and Less than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232692#M502681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the second expression to&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Cancel Reason] = {"=[Cancel Reason] &amp;lt;&amp;gt; 14 and len([Cancel Reason])&amp;gt;0"}&amp;gt;} [Non Accepted Sales])&lt;/P&gt;&lt;P&gt;The first expression should still remove the 14's since in set analysis the -= excludes values like the &amp;lt;&amp;gt; in a search expression. What I don't know about the first expression is how it does the intersection of the removing the value 14 and the null or empty Cancel Reasons.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 16:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Greater-than-and-Less-than/m-p/232692#M502681</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-08T16:43:40Z</dc:date>
    </item>
  </channel>
</rss>

