<?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: Showing percentages in stack bar chart for each stack that is relative to that total bar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667731#M674870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace DIM1 by your chart expressions, ie:&lt;/P&gt;&lt;P&gt;&amp;lt;DIM1, DIM2...&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it dynamic you can create a variable that returns the dimensions string and use this variable, ie:&lt;/P&gt;&lt;P&gt;variable vDimensions = =If(GetSelected...&amp;nbsp; or =Concat(DimensionSelector, ', ')&lt;/P&gt;&lt;P&gt;// something that returns you the string with dimensions, depens on your model and how works your dynamic chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the variable:&lt;/P&gt;&lt;P&gt;Dual(Sum(Sales), Num(Sum(Sales) / Sum(TOTAL &amp;lt;$(vDimensions)&amp;gt; Sales), '#.##0,00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 09:14:00 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-10-22T09:14:00Z</dc:date>
    <item>
      <title>Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667723#M674862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an issue with the Stack bar chart where I want to show the % for each stack that is relative to the entire bar. I mean if I've 4 stacks in one bar, then I want to show 25% in each stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 15:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667723#M674862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-28T15:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667724#M674863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe, Use the Total Qualifier in the expression&lt;/P&gt;&lt;P&gt;Sum(Sales) / Sum(TOTAL &amp;lt;DIM1&amp;gt; Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667724#M674863</guid>
      <dc:creator />
      <dc:date>2014-07-28T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667725#M674864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If not working please post sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667725#M674864</guid>
      <dc:creator />
      <dc:date>2014-07-28T16:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667726#M674865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually after posting the question, I figured out the answer by looking at this post &lt;A href="https://community.qlik.com/message/439994"&gt;Re: showing values in %&lt;/A&gt; but after this bar has changed to 100% stacked bar chart. Is it something can we avoid, I mean we can use the stack bar chart as per the real values but when showing the values in the stacks, then it should show the %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 16:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667726#M674865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-28T16:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667727#M674866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the attach help ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 18:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667727#M674866</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-07-28T18:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667728#M674867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach the qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 08:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667728#M674867</guid>
      <dc:creator />
      <dc:date>2015-01-09T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667729#M674868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can use Dual function to split the value that defines the high of the bar, and the value shown:&lt;/P&gt;&lt;P&gt;Dual(Sum(Sales), Num(Sum(Sales) / Sum(TOTAL &amp;lt;DIM1&amp;gt; Sales), '#.##0,00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably you need to set 'Predefined Expression' in Numbers tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 09:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667729#M674868</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-09T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667730#M674869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben !&lt;/P&gt;&lt;P&gt;How if i have many dimensions ? By what can i replace DIM1 in your exemple in ordrer to make it bynamic ?&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;Am'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667730#M674869</guid>
      <dc:creator />
      <dc:date>2015-10-21T14:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667731#M674870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace DIM1 by your chart expressions, ie:&lt;/P&gt;&lt;P&gt;&amp;lt;DIM1, DIM2...&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it dynamic you can create a variable that returns the dimensions string and use this variable, ie:&lt;/P&gt;&lt;P&gt;variable vDimensions = =If(GetSelected...&amp;nbsp; or =Concat(DimensionSelector, ', ')&lt;/P&gt;&lt;P&gt;// something that returns you the string with dimensions, depens on your model and how works your dynamic chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the variable:&lt;/P&gt;&lt;P&gt;Dual(Sum(Sales), Num(Sum(Sales) / Sum(TOTAL &amp;lt;$(vDimensions)&amp;gt; Sales), '#.##0,00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 09:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667731#M674870</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-22T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentages in stack bar chart for each stack that is relative to that total bar</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667732#M674871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 16:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-percentages-in-stack-bar-chart-for-each-stack-that-is/m-p/667732#M674871</guid>
      <dc:creator />
      <dc:date>2015-10-22T16:14:40Z</dc:date>
    </item>
  </channel>
</rss>

