<?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: Changing Expressions to filter out values from calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-Expressions-to-filter-out-values-from-calculation/m-p/1249893#M461935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean eliminating rows with pallet = P:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;pallet-={'P'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean eliminating any style for which any row of that style has pallet = P, I think this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;style*=P({1&amp;lt;pallet-={'P'}&amp;gt;})&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not that these are your expressions. Your expressions seem much more complicated in some cases, but it's the set expression that's important. In some cases there's no aggregation function at all. If you need the logic, use an only() expression around those expressions to add the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 23:06:23 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2016-11-14T23:06:23Z</dc:date>
    <item>
      <title>Changing Expressions to filter out values from calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Expressions-to-filter-out-values-from-calculation/m-p/1249892#M461934</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 need some help with making a modification to a sales report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change my expressions to remove any style with pallet=p from the calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I this properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 21:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Expressions-to-filter-out-values-from-calculation/m-p/1249892#M461934</guid>
      <dc:creator>ccb-it2013</dc:creator>
      <dc:date>2016-11-14T21:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Expressions to filter out values from calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-Expressions-to-filter-out-values-from-calculation/m-p/1249893#M461935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean eliminating rows with pallet = P:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;pallet-={'P'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean eliminating any style for which any row of that style has pallet = P, I think this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({&amp;lt;style*=P({1&amp;lt;pallet-={'P'}&amp;gt;})&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not that these are your expressions. Your expressions seem much more complicated in some cases, but it's the set expression that's important. In some cases there's no aggregation function at all. If you need the logic, use an only() expression around those expressions to add the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 23:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-Expressions-to-filter-out-values-from-calculation/m-p/1249893#M461935</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-14T23:06:23Z</dc:date>
    </item>
  </channel>
</rss>

