<?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: Sum function with 2 Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065600#M641585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a dollar sign expansion for a constant value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country_Code]={'7'}&lt;STRONG&gt;, [Warehouse_Code] = {'A1'}&lt;/STRONG&gt; &amp;gt;} [Available_Qty])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Feb 2016 12:05:52 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-02-07T12:05:52Z</dc:date>
    <item>
      <title>Sum function with 2 Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065599#M641584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got this sum function that gives me the total of Available_Qty where Country_Code is 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country_Code]={'$(=7)'}&amp;gt;} [Available_Qty]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add one more condition into this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"and where Warehouse_Code is A1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me adding this into the function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 11:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065599#M641584</guid>
      <dc:creator>london1980</dc:creator>
      <dc:date>2016-02-07T11:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum function with 2 Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065600#M641585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a dollar sign expansion for a constant value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Country_Code]={'7'}&lt;STRONG&gt;, [Warehouse_Code] = {'A1'}&lt;/STRONG&gt; &amp;gt;} [Available_Qty])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 12:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065600#M641585</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-07T12:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sum function with 2 Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065601#M641586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works beautifully, many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 12:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-function-with-2-Conditions/m-p/1065601#M641586</guid>
      <dc:creator>london1980</dc:creator>
      <dc:date>2016-02-07T12:16:12Z</dc:date>
    </item>
  </channel>
</rss>

