<?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: Calculated sums ignoring selection - how to apply it? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594650#M477522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for answering so quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to achieve the selection not getting overrided (sums for only selected account when I select it) and have condition strona = 1 (or strona = 0 in next column) preserved?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Pawel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 10:59:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-18T10:59:29Z</dc:date>
    <item>
      <title>Calculated sums ignoring selection - how to apply it?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594648#M477520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a question - this time simple, I hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see my attachment. There are two straight tables here:&lt;BR /&gt;1 &lt;STRONG&gt;Budget&lt;/STRONG&gt;&lt;BR /&gt;2 &lt;STRONG&gt;Budget documents&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first table, we've got sums for budget:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Marketing budget calculated&lt;/STRONG&gt;: all accounts 645-3-* side Ct (strona = 1)&lt;BR /&gt;&lt;STRONG&gt;Marketing budget usage&lt;/STRONG&gt;: all accounts 645-3-* side Dt (strona = 0)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the second table we can see details (I had to remove the documents so you actually can see only values and on which account that document is). As we can see, there's only one document for account 645-3-*: it is for account 645-3-7173, side Dt (strona = 0, sorry for polish names here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;). When I'm selecting this document or particular account from listboxes above I want to reflect this selection on first table - but it doesn't work. Can anyone tell me what to do in order to have this selection working here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Paweł&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594648#M477520</guid>
      <dc:creator />
      <dc:date>2014-04-18T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated sums ignoring selection - how to apply it?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594649#M477521</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;Since you have the condition strona = {"1"} in first exp of first table, it overrides the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What functionality you exactly need when you select strona?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you disable 1st exp, then the selection will get applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594649#M477521</guid>
      <dc:creator />
      <dc:date>2014-04-18T10:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated sums ignoring selection - how to apply it?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594650#M477522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for answering so quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to achieve the selection not getting overrided (sums for only selected account when I select it) and have condition strona = 1 (or strona = 0 in next column) preserved?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Pawel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594650#M477522</guid>
      <dc:creator />
      <dc:date>2014-04-18T10:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated sums ignoring selection - how to apply it?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594651#M477523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exp1 :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount([Konto BRD])&amp;gt;0, sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;strona = {"1"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Wartosc BRD]*[Znak Pozycji Budzetu BRD]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;[Konto BRD] = {"645-3-*"}, strona = {"1"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Wartosc BRD]*[Znak Pozycji Budzetu BRD]))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exp2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount([Konto BRD])&amp;gt;0, sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;strona = {"0"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Wartosc BRD]*[Znak Pozycji Budzetu BRD]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;[Konto BRD] = {"645-3-*"}, strona = {"0"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Wartosc BRD]*[Znak Pozycji Budzetu BRD]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also add the Dimension [Konto BRD] to understand the working better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 11:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594651#M477523</guid>
      <dc:creator />
      <dc:date>2014-04-18T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated sums ignoring selection - how to apply it?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594652#M477524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Prabhu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know GetSelectedCount but it didn't come to my mind to use thi function here. I added [Konto BRD] before your reply and it helped here but I was curious whether we manage to apply the selection regardless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Paweł&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 11:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-sums-ignoring-selection-how-to-apply-it/m-p/594652#M477524</guid>
      <dc:creator />
      <dc:date>2014-04-18T11:26:08Z</dc:date>
    </item>
  </channel>
</rss>

