<?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: Set Analysis - Filter Expression by Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523078#M195450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2013 19:46:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-03T19:46:07Z</dc:date>
    <item>
      <title>Set Analysis - Filter Expression by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523074#M195446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an value in my application, [ExtNetDollars], and I have an Input Box which exposes two varaibles; vMinNetSales and vMaxNetSales.&amp;nbsp; I have a straight table which is showing [ExtNetDollars], and I want to set it up to filter any rows where [ExtNetDollars] is not within the range defined by these two variables.&amp;nbsp; I tried to start by just limiting to rows where [ExtNetDollars] was greater than the min, by trying the below, but it didn't work;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;ExtNetDollars &amp;gt; $(vMinNetSales)&amp;gt;}ExtNetDollars)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 18:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523074#M195446</guid>
      <dc:creator />
      <dc:date>2013-12-03T18:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Filter Expression by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523075#M195447</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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;ExtNetDollars = {'&amp;gt;$(vMinNetSales)&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vMaxNetSales)&lt;/SPAN&gt;'}&amp;gt;}ExtNetDollars)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 19:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523075#M195447</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-12-03T19:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Filter Expression by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523076#M195448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked, but perhaps I didn't know what I really wanted to achieve.&amp;nbsp; Here is an example of what my straight table looks like with a simple expression to show ExtNetDollars, no variables and no set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="orig straight table.png" class="jive-image" src="/legacyfs/online/49897_orig straight table.png" /&gt;&lt;/P&gt;&lt;P&gt;I then have the following values set for my two variables;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vMinNetSales - $0&lt;/LI&gt;&lt;LI&gt;vMaxNetSales - $51,000,000&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I then see is the following;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="var straight table.png" class="jive-image" src="/legacyfs/online/49925_var straight table.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I expected to happen was each district below or above $51,000,000 would dissappear, but it appears what QV is doing is evaluating the net sales at a lower level.&amp;nbsp; How could I get the desired result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 19:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523076#M195448</guid>
      <dc:creator />
      <dc:date>2013-12-03T19:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Filter Expression by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523077#M195449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you needed to do was to compare after you have done the sum already, you can use this if statement as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ExtNetDollars&lt;/SPAN&gt;)&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMinNetSales&lt;/SPAN&gt; and sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ExtNetDollars&lt;/SPAN&gt;)&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMaxNetSales&lt;/SPAN&gt;, sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ExtNetDollars&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you don't like using if statements, calculate the sum in the script first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 19:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523077#M195449</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-12-03T19:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Filter Expression by Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523078#M195450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 19:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Filter-Expression-by-Expression/m-p/523078#M195450</guid>
      <dc:creator />
      <dc:date>2013-12-03T19:46:07Z</dc:date>
    </item>
  </channel>
</rss>

