<?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: How to filter over rows with If? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425605#M1155041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, perfect. Thanks! Zach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Mar 2013 10:36:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-10T10:36:52Z</dc:date>
    <item>
      <title>How to filter over rows with If?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425603#M1155039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, why do i miss the two amounts of Orderno 2 in the second table?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34685" class="jive-image-thumbnail jive-image" onclick="" alt="Screen.png" src="https://community.qlik.com/legacyfs/online/34685_Screen.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 08:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425603#M1155039</guid>
      <dc:creator />
      <dc:date>2013-03-10T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter over rows with If?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425604#M1155040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that your if statement doesn't aggregate. So for any OrderNo with more than one record it can't determine which sum(Amount) it should use. Sum(200) or sum(120).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you probably want is the other way around: &lt;EM&gt;sum(if(PartGroup='PartB' and left(PartNo,1)=3,Amount)). &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can rewrite that to a set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;PartGroup={'PartB'},PartNo={"=left(PartNo,1)=3"}&amp;gt;} Amount)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 10:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425604#M1155040</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-10T10:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter over rows with If?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425605#M1155041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, perfect. Thanks! Zach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Mar 2013 10:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-over-rows-with-If/m-p/425605#M1155041</guid>
      <dc:creator />
      <dc:date>2013-03-10T10:36:52Z</dc:date>
    </item>
  </channel>
</rss>

