<?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 Ignoring a specific selection in a sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162523#M36009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help. I had to do a little bit of a work around seeing as when I display the BudgetCode totals, that I still need to display each budget code separately in a grid. But this definitely steered me in the right direction &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2009 14:50:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-24T14:50:17Z</dc:date>
    <item>
      <title>Ignoring a specific selection in a sum</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162521#M36007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;I have been having some fun with Qlikview for the last 3 months, but it seems I have reached a stumbling block with regards to aggregation.&lt;/P&gt;&lt;P&gt;I have the following scenario. There are 3 sales reps. These reps are assigned budget codes (or areas). I also have a fact table will all transactions relating to the reps and budget codes.&lt;/P&gt;&lt;P&gt;This is my problem. When I select a rep, I need to see the total sales for all budget codes linked to the rep, but the total must include all the other reps sales as well. Currently, Qlikview is displaying all the linked budget codes for the selected rep, but then it only shows the sales for the selected rep (instead of giving a total sum of all transactions for the selected budget codes).&lt;/P&gt;&lt;P&gt;My question is thus, is it possible to do a sum for all transactions for the selected budget codes (which are linked to the rep), but ignore the actual rep code selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 22:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162521#M36007</guid>
      <dc:creator />
      <dc:date>2009-11-23T22:21:43Z</dc:date>
    </item>
    <item>
      <title>Ignoring a specific selection in a sum</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162522#M36008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's doable, but it can get a little tricky. First, are the users making the actual selection on the rep or the budget code? I'm assuming they select a rep, leaving you with a list of possible budget codes. You can get that list of codes using Concat:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Concat(FIELD, ',')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then you need to use the 1 Set Identifier to ignore selections (this will get you everything):&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({1} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then to combine them, something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({1 &amp;lt;BudgetCode = {"($=Concat(FIELD, ','))"}&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Depending on the type of your Budget Codes, that may or may not work. If you need quotes around each of your budget codes to work, switch the Concat part to be:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;($=Concat(FIELD, '","'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;When you put that all together, you may have issues with the quotes. It will depend on your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 22:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162522#M36008</guid>
      <dc:creator />
      <dc:date>2009-11-23T22:47:14Z</dc:date>
    </item>
    <item>
      <title>Ignoring a specific selection in a sum</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162523#M36009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help. I had to do a little bit of a work around seeing as when I display the BudgetCode totals, that I still need to display each budget code separately in a grid. But this definitely steered me in the right direction &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 14:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-a-specific-selection-in-a-sum/m-p/162523#M36009</guid>
      <dc:creator />
      <dc:date>2009-11-24T14:50:17Z</dc:date>
    </item>
  </channel>
</rss>

