<?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 intersect is not working. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30052#M4961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I probably did not explain well enough.&amp;nbsp; filter needs to be the &lt;STRONG&gt;sum&lt;/STRONG&gt;([Billed Amount]) between 5000 and 10000.&amp;nbsp; Your solution would only filter for any &lt;EM&gt;single&lt;/EM&gt; transaction between those ranges. &lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 21:59:42 GMT</pubDate>
    <dc:creator>dadumas</dc:creator>
    <dc:date>2018-06-14T21:59:42Z</dc:date>
    <item>
      <title>Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30050#M4959</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;I am trying to show a chart of all customers that have been billed between $5000 and $10000.&amp;nbsp; I have variables for the hard coded below, but illustrating here with hard coded amounts.&amp;nbsp; The * operator is supposed to intersect both searches, like a sql intesect.&amp;nbsp; The lower bound is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get them to both work &lt;EM&gt;independently&lt;/EM&gt; of each other but I need it to work together "between lower and upper".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Customer ID] = {"=[Billed Amount] &amp;gt;= 5000"}&amp;gt; * &amp;lt;[Customer ID] = {"=[Billed Amount] &amp;lt;= 10000"}&amp;gt;} [Billed Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This one (above) is correctly filtering the chart on the upper bound (10000), but the lower bound is including customers with $0 [Billed Amount]).&amp;nbsp; So no errors, but it's not filtering the lower bound &amp;gt;= $5000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried: (gets an error on a missing } )&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({$&amp;lt;[Customer ID] = {"=[Billed Amount] &amp;gt;= 5000"}&amp;gt;} * {&amp;lt;[Customer ID] = {"=[Billed Amount] &amp;lt;= 10000"}&amp;gt;} [Billed Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried: &lt;SPAN style="font-size: 13.3333px;"&gt;(gets an error on a missing } )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({$&amp;lt;[Customer ID] = {"=[Billed Amount] &amp;gt;= 5000"}&amp;gt;} * {$&amp;lt;[Customer ID] = {"=[Billed Amount] &amp;lt;= 10000"}&amp;gt;} [Billed Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Dave&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 20:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30050#M4959</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-06-14T20:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30051#M4960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;[Billed Amount] = {"&amp;gt;=5000&amp;lt;=10000"}&amp;gt;}[Billed Amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 21:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30051#M4960</guid>
      <dc:creator>m_perreault</dc:creator>
      <dc:date>2018-06-14T21:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30052#M4961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I probably did not explain well enough.&amp;nbsp; filter needs to be the &lt;STRONG&gt;sum&lt;/STRONG&gt;([Billed Amount]) between 5000 and 10000.&amp;nbsp; Your solution would only filter for any &lt;EM&gt;single&lt;/EM&gt; transaction between those ranges. &lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 21:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30052#M4961</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-06-14T21:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30053#M4962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with:&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; font-size: 13.3333px;"&gt;sum({$&amp;lt;[Customer ID] = {"=Sum([Billed Amount])&amp;gt;=5000"} * {"=Sum([Billed Amount])&amp;lt;=10000"}&amp;gt;} [Billed Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&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; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 00:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30053#M4962</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2018-06-15T00:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30054#M4963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one works, (but Sunny's below also works and&amp;nbsp; is simpler):&amp;nbsp; It is very valuable, as it lets you solve these types of range questions.&amp;nbsp; I created variables for the ranges also, as input boxes for the user.&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; font-size: 13px;"&gt;sum({$&amp;lt;[Customer ID] = {"=sum([Billed Amount]) &amp;gt;= 5000"}&amp;gt; * &amp;lt;[Customer ID] = {"=sum([Billed Amount]) &amp;lt;= 10000"}&amp;gt;} [Billed Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;The reason I thought it was not working was because I had other measures in the chart that were not filtered with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;[Customer ID] = {"=sum([Billed Amount]) &amp;gt;= 5000"}&amp;gt; * &amp;lt;[Customer ID] = {"=sum([Billed Amount]) &amp;lt;= 10000"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;As such, they were displaying correctly, but the one using this filter, was showing zeros for many rows, because it was sharing data across the straight table.&amp;nbsp; That was actually correct, but misleading.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;It's critical that if you want to show other measures, &lt;STRONG&gt;you must use the same portion&lt;/STRONG&gt;&amp;nbsp; &amp;lt;&amp;gt; * &amp;lt;&amp;gt; of the set analysis.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 00:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30054#M4963</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-06-15T00:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30055#M4964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just do 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; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Customer ID] = {"=Sum([Billed Amount]) &amp;gt;= 5000 and Sum([Billed Amount]) &amp;lt;= 10000"}&amp;gt;} [Billed Amount])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30055#M4964</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-15T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis intersect is not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30056#M4965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This also works, and it's a simpler formula than the one I used.&amp;nbsp; I did not know you could use AND within a search string.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-intersect-is-not-working/m-p/30056#M4965</guid>
      <dc:creator>dadumas</dc:creator>
      <dc:date>2018-06-15T11:58:54Z</dc:date>
    </item>
  </channel>
</rss>

