<?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 above values only when a dimension value is equal to the current one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577830#M683857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well, on the GUI, you could use a set_expression to sum up all the items grouped by (the user's current selection) which you can query using GETFIELDSELECTIONS().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 11:26:39 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-02-27T11:26:39Z</dc:date>
    <item>
      <title>Sum above values only when a dimension value is equal to the current one</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577827#M683854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I can't figure out how to sum above rows only when the rows have a field value equal to the current one.&lt;/P&gt;&lt;P&gt;Two dimensions: CAR and COLOR &lt;/P&gt;&lt;P&gt;Value QUANTITY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see the source table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="source.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53935_source.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like sum for eache row above quantity + current quantity only when color equals to the current one.is what I expect to obtain.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-02-27-1141 -001.png" class="jive-image" src="/legacyfs/online/53957_2014-02-27-1141 -001.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I obtain it with formulas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 11:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577827#M683854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum above values only when a dimension value is equal to the current one</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577828#M683855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi martinovedana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggregate: Insert a sum([Quantity]) function in your LOAD.&lt;/P&gt;&lt;P&gt;=&amp;gt; Keep in mind you then need a GROUP BY clause encompassing ALL OTHER fields present in your LOAD.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 11:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577828#M683855</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-27T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum above values only when a dimension value is equal to the current one</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577829#M683856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks DataNibbler but I can't do it during LOAD because it has to be dynamic based on current selections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 11:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577829#M683856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T11:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sum above values only when a dimension value is equal to the current one</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577830#M683857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well, on the GUI, you could use a set_expression to sum up all the items grouped by (the user's current selection) which you can query using GETFIELDSELECTIONS().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 11:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-above-values-only-when-a-dimension-value-is-equal-to-the/m-p/577830#M683857</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-27T11:26:39Z</dc:date>
    </item>
  </channel>
</rss>

