<?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: Holding a summed value through a drilldown in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458710#M171234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioannis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's fine if they are just set up as separate dimensions, but i need a hierarchical drilldown group, at which point your example does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 13:52:47 GMT</pubDate>
    <dc:creator>brian_booden</dc:creator>
    <dc:date>2013-02-21T13:52:47Z</dc:date>
    <item>
      <title>Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458707#M171231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a situation where i am selecting a colour based on thresholds at the top level of a UK postcode hierarchy.&amp;nbsp; The drilldown group looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Area -&amp;gt; District -&amp;gt; Sector -&amp;gt; Postcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. AB -&amp;gt; AB53 -&amp;gt; AB53 5 -&amp;gt; AB53 5ST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to hold the colour calculated at Area level, and always use that, no matter where i am in the drilldown.&amp;nbsp; So let's say i'm at the bottom of the hierarchy and have the following results for the above postcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="137" style="width: 369px; border: 1px solid rgb(0, 0, 0); height: 1px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Drilldown Level&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Value of Sum (Issued) at Drilldown level&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Area &lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;District &lt;/TD&gt;&lt;TD&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sector &lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Postcode&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always want to use 10000 (the result at Area level), no matter the level of the drilldown, as the basis to calulate the (same!) colour against some variableised thresholds.&amp;nbsp; I have tried various combinations of the TOTAL operator in the sum, and also tinkered with Aggr(), but without much success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way that i have managed to get this properly working is using $x in set analysis to go back x selections, but that's not going to work if the user does anything other than perform a straight drilldown on the chart without making any other selections in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest the best way to do this as i must be missing something... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458707#M171231</guid>
      <dc:creator>brian_booden</dc:creator>
      <dc:date>2013-02-21T13:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458708#M171232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like the attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458708#M171232</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-02-21T13:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458709#M171233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458709#M171233</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-21T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458710#M171234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioannis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's fine if they are just set up as separate dimensions, but i need a hierarchical drilldown group, at which point your example does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 13:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458710#M171234</guid>
      <dc:creator>brian_booden</dc:creator>
      <dc:date>2013-02-21T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458711#M171235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True if the group is a Drill Down. It only works with Cyclic Group.&lt;/P&gt;&lt;P&gt;So you need to add the code proposed by Gysbert to make it work.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Ioannis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458711#M171235</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-02-21T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458712#M171236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert, but i still have an issue.&amp;nbsp; When i apply your syntax, i do get the right total, but i also get lots of extra sectors listed that, as you can see, are outwith the possible values in my Sector field.&amp;nbsp; In the chart, i need to see only the sectors that are possible values in the sector field.&amp;nbsp; I can see why this is happening - by setting the fields to blank in the set analysis, it's bringing other field values into play.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to get this far and this is what is causing me the real issue. I need to get rid of the extra sectors.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33745" alt="Drilldown Sum.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/33745_Drilldown+Sum.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458712#M171236</guid>
      <dc:creator>brian_booden</dc:creator>
      <dc:date>2013-02-21T14:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458713#M171237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the p (possible values) function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;District=, Sector=,Postcode={$(=p(Postcode))}&amp;gt;} TOTAL &amp;lt;Area&amp;gt; Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in District and Sector if needed. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458713#M171237</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-02-21T14:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458714#M171238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 14:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458714#M171238</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-21T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Holding a summed value through a drilldown</title>
      <link>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458715#M171239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, thank you so much.&amp;nbsp; I applied your logic to Ioannis' file and then my application, and it worked!&amp;nbsp; Amazing, thank you so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 15:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holding-a-summed-value-through-a-drilldown/m-p/458715#M171239</guid>
      <dc:creator>brian_booden</dc:creator>
      <dc:date>2013-02-21T15:01:16Z</dc:date>
    </item>
  </channel>
</rss>

