<?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 column chart in Qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435761#M812019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need to remove your "{}" curly brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( CPF_CNPJ ) / Count( TOTAL &amp;lt;Periodo_Movimentacao&amp;gt; CPF_CNPJ&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Oct 2017 20:25:44 GMT</pubDate>
    <dc:creator>oscar_ortiz</dc:creator>
    <dc:date>2017-10-02T20:25:44Z</dc:date>
    <item>
      <title>100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435757#M812015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a bar chart in Qlikview that displays information of 2 dimensions (period and segment) and 1 expression (value in%), that total 100% in the bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum (Value) / Sum (Total Value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the "Total" or "All", the chart considers the value of all periods, when in fact I should only consider the total per period. I have already tried to use the Aggr expression, but it gives miscalculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr (Sum (Value) / Sum (Total Value), Period).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that Set Analysis does not apply to this calculation, since it will always consider the total value (of all periods).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another environment, this graph is native and is called "100% Stacked Column Chart", as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="grafico.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178021_grafico.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to reproduce this graph in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435757#M812015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435758#M812016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karen,&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum (Value) / Sum (Total &amp;lt;Period&amp;gt; Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Good luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 16:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435758#M812016</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-09-28T16:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435759#M812017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try an expression like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum (Value) / Sum (Total &amp;lt;Period&amp;gt; Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Change your chart properties under style select Stacked:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="276294-1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/178041_276294-1.PNG" style="height: 546px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your result should look something like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="276294.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178040_276294.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 16:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435759#M812017</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-09-28T16:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435760#M812018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oscar,&lt;/P&gt;&lt;P&gt;Thank you for your answer. &lt;/P&gt;&lt;P&gt;I tried but doesn't work like your example. Bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178344_1.png" style="height: 387px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435760#M812018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-02T20:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435761#M812019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need to remove your "{}" curly brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( CPF_CNPJ ) / Count( TOTAL &amp;lt;Periodo_Movimentacao&amp;gt; CPF_CNPJ&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435761#M812019</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-02T20:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435762#M812020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Oscar! It worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435762#M812020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-02T20:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435763#M812023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again I need to make this rule, but now also using Set Analysis, and following the same rule, doesn't return 100%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Code={"10"}&amp;gt;}Id)/Count(Total &amp;lt;Month,Day&amp;gt; {$&amp;lt;Code={"10"}&amp;gt;}Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="grafico.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179943_grafico.png" style="height: 111px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 13:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435763#M812023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-17T13:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: 100% stacked column chart in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435764#M812025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you possibly provide some sample data with an explanation of what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your image what do the values in the legend associate to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the expression that you have it looks like you are simply trying to look at the Code=10 by date.&amp;nbsp; Do you have an actual date field in your data model?&amp;nbsp; Rather than using the Month and Day.&amp;nbsp; Or possibly change your expression to use whatever value you have in your legend rather than the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 14:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/100-stacked-column-chart-in-Qlikview/m-p/1435764#M812025</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-17T14:19:35Z</dc:date>
    </item>
  </channel>
</rss>

