<?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 Indicator1 when Dim1=ValueX and Dim2=ValueY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446435#M166543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Dimension1={'Some Value'},Dimension2={'Another Value'}&amp;gt;} Indicator1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 21:47:15 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2012-10-23T21:47:15Z</dc:date>
    <item>
      <title>SUM Indicator1 when Dim1=ValueX and Dim2=ValueY</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446434#M166542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I a set up an expression to SUM Indicator1 when Dimension 1 has a certain value and a Dimension 2 another particular value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 21:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446434#M166542</guid>
      <dc:creator />
      <dc:date>2012-10-23T21:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Indicator1 when Dim1=ValueX and Dim2=ValueY</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446435#M166543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Dimension1={'Some Value'},Dimension2={'Another Value'}&amp;gt;} Indicator1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 21:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446435#M166543</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-10-23T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: SUM Indicator1 when Dim1=ValueX and Dim2=ValueY</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446436#M166544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Armas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use set analysis in an expression such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Dim1={ValueX},Dim2={ValueY}&amp;gt;}Indicator1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will sum the values of Indicator1 only where DIM1=ValueX and DIM2=ValueY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="218"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl22" height="17" width="64"&gt;Indicator1&lt;/TD&gt;&lt;TD class="xl22" style="border-left: none;" width="82"&gt;Dim1&lt;/TD&gt;&lt;TD class="xl22" style="border-left: none;" width="72"&gt;Dim2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: none;"&gt;25&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: none;"&gt;45&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: none;"&gt;24&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl23" height="17" style="border-top: none;"&gt;24&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;45&lt;/TD&gt;&lt;TD class="xl23" style="border-top: none; border-left: none;"&gt;76&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Dim1={30},Dim2={50}&amp;gt;}Indicator1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives the answer 145 i.e. 100 + 45, the two values of indicator1 where Dim1=30 and Dim2=50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 21:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-Indicator1-when-Dim1-ValueX-and-Dim2-ValueY/m-p/446436#M166544</guid>
      <dc:creator />
      <dc:date>2012-10-23T21:52:49Z</dc:date>
    </item>
  </channel>
</rss>

