<?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 100% Stacked Bar Graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153605#M30580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the same thing but I have a problem. Instead of the variable 'Amount' I have 'Cost' but not as a one short expression but as something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the Cost comes in dfferent currencies, so with this I take it to USD. If I use the same formula for the stacked 100% with this expression I have an Error. This is waht I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Reserva.Fecha&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 13:24:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-24T13:24:47Z</dc:date>
    <item>
      <title>100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153602#M30577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;I have to build an Stacked Bar Graph where all bars sum 100%.&lt;/P&gt;&lt;P&gt;One dimention its, for instance, "months" and the other one is "Clients" and the expresion its a count of an specific item.&lt;/P&gt;&lt;P&gt;So, what i have to show its how participate each client on the total count for each month.&lt;/P&gt;&lt;P&gt;Let me ilustrate with an example table:&lt;/P&gt;&lt;P&gt;MONTH&lt;/P&gt;&lt;P&gt;CLIENT 1 2 3 4 TOTAL&lt;/P&gt;&lt;P&gt;X1 100 300 200 100 700&lt;/P&gt;&lt;P&gt;X2 350 300 100 150 900&lt;/P&gt;&lt;P&gt;X3 200 100 100 150 550&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i make an stacked bar graph abput this table, you will not see 100% bars. Will see 3 bars of diferents sizes based on Sum of quantities.&lt;/P&gt;&lt;P&gt;What i need are 3 100% bars based on participation.&lt;/P&gt;&lt;P&gt;Any help please????&lt;/P&gt;&lt;P&gt;Thanks for All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 16:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153602#M30577</guid>
      <dc:creator />
      <dc:date>2010-10-21T16:42:12Z</dc:date>
    </item>
    <item>
      <title>100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153603#M30578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use TOTAL &amp;lt;CLIENT&amp;gt; to make the values a percentage:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Amount)/Sum(TOTAL &amp;lt;CLIENT&amp;gt; Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I've attached a sample using your provided data (but reformatted a bit, see the load).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 16:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153603#M30578</guid>
      <dc:creator />
      <dc:date>2010-10-21T16:58:42Z</dc:date>
    </item>
    <item>
      <title>100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153604#M30579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested and it WORKED!!!! MANY THANKS!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 17:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153604#M30579</guid>
      <dc:creator />
      <dc:date>2010-10-21T17:15:04Z</dc:date>
    </item>
    <item>
      <title>100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153605#M30580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do the same thing but I have a problem. Instead of the variable 'Amount' I have 'Cost' but not as a one short expression but as something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the Cost comes in dfferent currencies, so with this I take it to USD. If I use the same formula for the stacked 100% with this expression I have an Error. This is waht I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(total &amp;lt;Reserva.Fecha&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(EfCost*if(EfCurrency='ARS',1,0))*sum(if(XchangeMoneda='ARS',XchangeCotización,0))/sum(if(XchangeMoneda='ARS',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='BRL',1,0))*sum(if(XchangeMoneda='BRL',XchangeCotización,0))/sum(if(XchangeMoneda='BRL',1,0))&lt;/P&gt;&lt;P&gt;+sum(EfCost*if(EfCurrency='USD',1,0)))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 13:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153605#M30580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-24T13:24:47Z</dc:date>
    </item>
    <item>
      <title>100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153606#M30581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have to create a chart where each bar equals to 100%... (eg. if there is A,B,C then A=50%, B=30% , C=20%)...Please advise... I have tried using relative, but it does not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 14:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153606#M30581</guid>
      <dc:creator />
      <dc:date>2012-02-28T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153607#M30582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would the syntax be if you have 2 dimensions in your graph?&amp;nbsp; For example, I also have time period (which is the x-axis).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 09:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153607#M30582</guid>
      <dc:creator />
      <dc:date>2012-08-02T09:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153608#M30583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using a Mekko Chart for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 10:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153608#M30583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-02T10:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153609#M30584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dennis - I've tried doing this but it seems to aggregate everything and provide %'s across all bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is the % to be 100% for each individual bar and want this value to appear within the segments.&lt;/P&gt;&lt;P&gt;Attached is what I currently have.&lt;IMG __jive_id="19339" class="jive-image" alt="MekkoChart.PNG" src="https://community.qlik.com/legacyfs/online/19339_MekkoChart.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 10:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153609#M30584</guid>
      <dc:creator />
      <dc:date>2012-08-02T10:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153610#M30585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I show percentages on the x-axis? In other words, what is the percentage of each of Jan 2012, Feb 2012 and Jun 2012, where the total adds to a 100%?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 08:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153610#M30585</guid>
      <dc:creator />
      <dc:date>2013-05-02T08:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153611#M30586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I too would like to be able to create a 100% stacked bar chart showing percentages, side by side.&amp;nbsp; I tried the above solution, but it took the percentage of the total, instead of grouping it by what is displayed on the x axis.&amp;nbsp; Any ideas?&amp;nbsp; I understand a Mekko chart will visually do this - but I would prefer to have an offical chart with equal widths along the x axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amended&amp;nbsp; - this does it... =sum(Value)/sum(Total&amp;lt;DateMonth&amp;gt; Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 03:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153611#M30586</guid>
      <dc:creator />
      <dc:date>2014-07-14T03:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153612#M30587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to retain the count as it is instead of percentage? but still all bars being equal!! sounds weird but I have this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a stacked 100 % chart and now all bars are equal but the customer wants to show the original count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For stacked assume I am using&amp;nbsp; Sum(Field)/Sum(TOTAL Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="175857" alt="stacked.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175857_stacked.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/153612#M30587</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-07T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: 100% Stacked Bar Graph</title>
      <link>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/1523291#M438192</link>
      <description>&lt;P&gt;What if there&amp;nbsp;are&amp;nbsp;more alternate dimensions in the chart.&lt;/P&gt;&lt;P&gt;Then the field I put in the TOTAL&amp;lt;...&amp;gt; should be the horizontal dimension, but I wouldn't be able to tell which one user has toggled.&amp;nbsp;How should I write the expression to cater for alternate dimensions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 03:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-Stacked-Bar-Graph/m-p/1523291#M438192</guid>
      <dc:creator>kai_kathy_shen</dc:creator>
      <dc:date>2018-12-21T03:16:31Z</dc:date>
    </item>
  </channel>
</rss>

