<?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: Re: Re: 100% Stacked bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606755#M546077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or maybe this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_111482_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55617_QlikCommunity_Thread_111482_Pic5.JPG.jpg" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 23:09:32 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-03-21T23:09:32Z</dc:date>
    <item>
      <title>100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606750#M546072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Does anyone know how to create a '100% stacked bar' chart in a way, that tool compares the % not to the total, but to the reported groups? I.e.: sum(Product "X")=100%&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: rgb(61, 61, 61); width: 514px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="106"&gt;&lt;/TD&gt;&lt;TD align="left" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="130"&gt;Product "X"&lt;/TD&gt;&lt;TD align="left" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="77"&gt;Product "Y"&lt;/TD&gt;&lt;TD align="left" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="90"&gt;Product "Z"&lt;/TD&gt;&lt;TD align="left" class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="111"&gt;Grand Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;Approved&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1,427,075&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;267,717&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1,189,907&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2,884,699&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;Rejected&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;847,693&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;765,022&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;817,593&lt;/TD&gt;&lt;TD align="right" class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2,430,308&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And is it possible in any way to have both, the values and the % visible in the same chart? Or at least add the values into a % bar chart? Many thanks for your help!&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/legacyfs/online/55536_4.PNG.png"&gt;&lt;IMG __jive_id="55536" alt="4.PNG.png" class="jive-image jiveImage" height="190" src="https://community.qlik.com/legacyfs/online/55536_4.PNG.png" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="373" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Prakash Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606750#M546072</guid>
      <dc:creator />
      <dc:date>2014-03-21T09:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606751#M546073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Prakash, can you attach a sample file if possible.&lt;/P&gt;&lt;P&gt;I think you can add another expression and make it text. Then you would have a bar in % and a value in text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 21:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606751#M546073</guid>
      <dc:creator />
      <dc:date>2014-03-21T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606752#M546074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you find this solution helpful?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="55613" alt="QlikCommunity_Thread_111482_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55613_QlikCommunity_Thread_111482_Pic1.JPG.jpg" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;P&gt;Chart Dimensions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Product&lt;/LI&gt;&lt;LI&gt;Status&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Expression:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13954392901941756" jivemacro_uid="_13954392901941756"&gt;
&lt;P&gt;=sum(Value)/sum(Total&amp;lt;Product&amp;gt; Value)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;The trick is to only total all chart dimension except the Product dimension, which in this case leaves only the Status dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load script:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13954392901804654 jive_macro_code" jivemacro_uid="_13954392901804654"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;CrossTable(Product, Value)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD F1 as Status,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product "X"],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product "Y"],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Product "Z"],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Grand Total]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2052" data-containertype="14" data-objectid="111482" data-objecttype="1" href="https://community.qlik.com/thread/111482"&gt;http://community.qlik.com/thread/111482&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;



&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="55612" alt="QlikCommunity_Thread_111482_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55612_QlikCommunity_Thread_111482_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I had to transform your table a bit (crosstable load).&lt;/P&gt;&lt;P&gt;Hope you don't mind &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 21:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606752#M546074</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-21T21:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: 100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606753#M546075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chek the option 'values on data points' on the expression tab and also the 'Plot values inside the segments' in the presentation tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 22:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606753#M546075</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-21T22:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: 100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606754#M546076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more flexible way, using a calculated dimension that includes the rejected value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_139544186577227 jive_text_macro jive_macro_code" jivemacro_uid="_139544186577227"&gt;
&lt;P&gt;=Product&amp;amp;chr(10)&amp;amp;num(aggr(Sum({$&amp;lt;Status={'Rejected'}&amp;gt;}Value), Product), '#,##0')&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="55615" alt="QlikCommunity_Thread_111482_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55615_QlikCommunity_Thread_111482_Pic3.JPG.jpg" style="width: 620px; height: 178px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_111482_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55616_QlikCommunity_Thread_111482_Pic4.JPG.jpg" style="width: 620px; height: 178px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 22:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606754#M546076</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-21T22:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: 100% Stacked bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606755#M546077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or maybe this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_111482_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/55617_QlikCommunity_Thread_111482_Pic5.JPG.jpg" style="width: 620px; height: 176px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 23:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-bar-chart/m-p/606755#M546077</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-21T23:09:32Z</dc:date>
    </item>
  </channel>
</rss>

