<?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 - Exclude selected items from Calc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958929#M329251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been working on a solution to exclude values that are selected in a listbox from a calculation.&amp;nbsp; The attached works correctly, however, it doesn't seem very elegant to me (it relies on a variable to adjust the set analysis and you also get the squiggly line, which I prefer to avoid).&amp;nbsp; Can anyone think of a better way to do this?&amp;nbsp; The idea is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;When "some other date" dates are selected, those dates should be excluded from the calculation&lt;/LI&gt;&lt;LI&gt;When no "some other date" selected, there should be no exclusions from the calculation.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 06:44:02 GMT</pubDate>
    <dc:creator>nsm1234567</dc:creator>
    <dc:date>2015-11-23T06:44:02Z</dc:date>
    <item>
      <title>Set Analysis - Exclude selected items from Calc</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958929#M329251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been working on a solution to exclude values that are selected in a listbox from a calculation.&amp;nbsp; The attached works correctly, however, it doesn't seem very elegant to me (it relies on a variable to adjust the set analysis and you also get the squiggly line, which I prefer to avoid).&amp;nbsp; Can anyone think of a better way to do this?&amp;nbsp; The idea is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;When "some other date" dates are selected, those dates should be excluded from the calculation&lt;/LI&gt;&lt;LI&gt;When no "some other date" selected, there should be no exclusions from the calculation.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 06:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958929#M329251</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2015-11-23T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Exclude selected items from Calc</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958930#M329252</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 hope this will give you the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount( [Some Other Date])&amp;gt;0,sum({$&amp;lt;[Waybill Date]=E({$}[Some Other Date])&amp;gt;}Amount),sum(Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 08:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958930#M329252</guid>
      <dc:creator>arasantorule</dc:creator>
      <dc:date>2015-11-23T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Exclude selected items from Calc</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958931#M329253</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount([Some Other Date]) &amp;gt; 0,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Waybill Date]=E([Some Other Date])&amp;gt;}Amount), sum(Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 08:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958931#M329253</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-11-23T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Exclude selected items from Calc</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958932#M329254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Exclude-selected-items-from-Calc/m-p/958932#M329254</guid>
      <dc:creator>vipin_mishra479</dc:creator>
      <dc:date>2015-11-23T09:14:09Z</dc:date>
    </item>
  </channel>
</rss>

