<?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: Using row value in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839674#M470992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set analysis won't be able to do this for you, as the set is defined for the whole chart rather then row by row. Maybe the attached will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 14:12:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-15T14:12:13Z</dc:date>
    <item>
      <title>Using row value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839672#M470990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm stuck at problem where I want sum an amount based on on a value in a field per row. Please see the attached app and picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I hardcode the value as &lt;STRONG&gt;sum({&amp;lt;row_number = {2}&amp;gt;} total amount) &lt;/STRONG&gt;it works but when I try to use the contents of a field (per row) it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me find a solution? It does not matter if it is set analysis or if statements. I just want to be able to sum based on other rows than the current. I will use it to make calculations based on the sums of the different rows. For example, if(row_number=3, sum(row1)/sum(row(2)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image.png" class="jive-image image-1" height="60" src="https://community.qlik.com/legacyfs/online/83743_image.png" style="height: 60px; width: 775px; float: none;" width="775" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Ola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 13:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839672#M470990</guid>
      <dc:creator>Amphan</dc:creator>
      <dc:date>2015-04-15T13:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using row value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839673#M470991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this give you any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8242"&gt;Missing Manual - Above() and Below()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839673#M470991</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-15T14:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using row value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839674#M470992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set analysis won't be able to do this for you, as the set is defined for the whole chart rather then row by row. Maybe the attached will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 14:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839674#M470992</guid>
      <dc:creator />
      <dc:date>2015-04-15T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using row value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839675#M470993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but it was not quite what I was looking for, but I learned something new so thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up writing the full expression in the field and then doing a $ sign expansion on the field which gets what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Ola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 20:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-row-value-in-set-analysis/m-p/839675#M470993</guid>
      <dc:creator>Amphan</dc:creator>
      <dc:date>2015-04-15T20:28:47Z</dc:date>
    </item>
  </channel>
</rss>

