<?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 Sum If with SET analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-If-with-SET-analysis/m-p/876770#M1007025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building an OPEX report and for certain G/L Accounts (eg "913990") do I only want to include values were WBS number = "#" but for everything else I want it all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example below works but as you probably see does not give me the correct sum... However I'm stuck when I try to do a "Sum(if(XXX,YYY))" formula so hope someone see how this can be done when there is a need of SET analysis in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;[Account Number - Level 06 - [80ACCOUNT]]]='913990',&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; [WBS Element - WBS Element Level 01 - [20PS_PRJTYPE]]]= {'#'},&lt;/P&gt;&lt;P&gt;[Account Number - Level 04 (Text)]={'Other Opex', 'Total personnel expenses'} ,&lt;/P&gt;&lt;P&gt;[Version - Version Level 01 (Text)]={'*actual*'}&amp;gt;}Amount),&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; &lt;/P&gt;&lt;P&gt;[Account Number - Level 04 (Text)]={'Other Opex', 'Total personnel expenses'} ,&lt;/P&gt;&lt;P&gt;[Version - Version Level 01 (Text)]={'*actual*'} &amp;gt;}Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 07:47:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-18T07:47:01Z</dc:date>
    <item>
      <title>Sum If with SET analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-If-with-SET-analysis/m-p/876770#M1007025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm building an OPEX report and for certain G/L Accounts (eg "913990") do I only want to include values were WBS number = "#" but for everything else I want it all &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example below works but as you probably see does not give me the correct sum... However I'm stuck when I try to do a "Sum(if(XXX,YYY))" formula so hope someone see how this can be done when there is a need of SET analysis in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;[Account Number - Level 06 - [80ACCOUNT]]]='913990',&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; [WBS Element - WBS Element Level 01 - [20PS_PRJTYPE]]]= {'#'},&lt;/P&gt;&lt;P&gt;[Account Number - Level 04 (Text)]={'Other Opex', 'Total personnel expenses'} ,&lt;/P&gt;&lt;P&gt;[Version - Version Level 01 (Text)]={'*actual*'}&amp;gt;}Amount),&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; &lt;/P&gt;&lt;P&gt;[Account Number - Level 04 (Text)]={'Other Opex', 'Total personnel expenses'} ,&lt;/P&gt;&lt;P&gt;[Version - Version Level 01 (Text)]={'*actual*'} &amp;gt;}Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 07:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-If-with-SET-analysis/m-p/876770#M1007025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T07:47:01Z</dc:date>
    </item>
  </channel>
</rss>

