<?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: 100% Stacked Bar Chart and drill down in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/1696275#M496746</link>
    <description>&lt;P&gt;Thank you for this, I was trying all sorts of things with variables and could not get it to work. Who knew it was so simple!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 21:45:45 GMT</pubDate>
    <dc:creator>Paulexter</dc:creator>
    <dc:date>2020-04-23T21:45:45Z</dc:date>
    <item>
      <title>100% Stacked Bar Chart and drill down</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/329062#M496742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;I have a bar chart which I have set up as a 100% stack with two dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;- Org_Level_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;- Input_Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;...using the following calculation I can show the % of Employees (this all works fine):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;=Count([Employee_Number])/Count(total&amp;lt;[Org_Level_1]&amp;gt; Employee_Number )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;However I actually want to use a drill down group, but I'm unsure how to use the group within the expresson.&amp;nbsp; The group consists of 5 fields within the organisation hierarchy i.e. Org_Level_1, Org_Level_2 etc; and the above calculation works obviously with the first level, but does not with the second.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;Basically, how do I amend the calculation so that it flexes depending on the org level...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;Your help is much appreciated...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt;Andrew&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 11:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/329062#M496742</guid>
      <dc:creator />
      <dc:date>2011-11-18T11:45:21Z</dc:date>
    </item>
    <item>
      <title>100% Stacked Bar Chart and drill down</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/329063#M496743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out, and just in case anyone else wanted to know, using the same expression as above I just included all the org levels that appear in the drill down group i.e:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿=Count([Employee_Number])/Count(Total&amp;lt;[Org_Level_1],[Org_Level_2],[Org_Level_3],[Org_Level_4],[Org_Level_5]&amp;gt; Employee_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 12:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/329063#M496743</guid>
      <dc:creator />
      <dc:date>2011-11-18T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Chart and drill down</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/1696275#M496746</link>
      <description>&lt;P&gt;Thank you for this, I was trying all sorts of things with variables and could not get it to work. Who knew it was so simple!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 21:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/1696275#M496746</guid>
      <dc:creator>Paulexter</dc:creator>
      <dc:date>2020-04-23T21:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Chart and drill down</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/1763260#M496747</link>
      <description>&lt;P&gt;This was a huge help.&amp;nbsp; Thank you for posting this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 13:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Chart-and-drill-down/m-p/1763260#M496747</guid>
      <dc:creator>TgrPep</dc:creator>
      <dc:date>2020-11-20T13:30:18Z</dc:date>
    </item>
  </channel>
</rss>

