<?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: Ignoring running selection on running dimension in Aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122963#M369954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, for this simplified example this would work.&lt;/P&gt;&lt;P&gt;Unfortunately, our real-life situation is a bit more complex and the equation looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=firstsortedvalue(name, aggr(sum(value), name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't figured out a way to do this without the aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 06:53:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-01T06:53:35Z</dc:date>
    <item>
      <title>Ignoring running selection on running dimension in Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122960#M369951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I'm currently struggling with a problem for which I really need your collective wisdom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the situation: I have a data model which includes an aggr function. The aggr function runs over a particular dimension, on which the user has made selections. Thing is, I want to ignore the selection and calculate over all possible values of the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've reduced the problem to this simple example, in which the aggr looks like:&amp;nbsp;&amp;nbsp; "=sum( total aggr(1, A)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without selection on A, the results look like we want them:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="A.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136152_A.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I select values in A, it only runs over those values instead of over all:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="B.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136163_B.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In both the textbox and the table, I still want the values to read 5. I've tried a lot of combinations using set analysis, but can't get it to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm including the example above. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122960#M369951</guid>
      <dc:creator />
      <dc:date>2016-08-31T15:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring running selection on running dimension in Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122961#M369952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({1}TOTAL A)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122961#M369952</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-31T15:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring running selection on running dimension in Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122962#M369953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And this for text box object&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Total sum: ' &amp;amp; Count({1}A) &amp;amp; ' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(should be 5)'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122962#M369953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-31T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring running selection on running dimension in Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122963#M369954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, for this simplified example this would work.&lt;/P&gt;&lt;P&gt;Unfortunately, our real-life situation is a bit more complex and the equation looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=firstsortedvalue(name, aggr(sum(value), name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't figured out a way to do this without the aggr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 06:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122963#M369954</guid>
      <dc:creator />
      <dc:date>2016-09-01T06:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring running selection on running dimension in Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122964#M369955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; name, Aggr(Sum(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; value), name))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 10:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-running-selection-on-running-dimension-in-Aggr/m-p/1122964#M369955</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-01T10:23:42Z</dc:date>
    </item>
  </channel>
</rss>

