<?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 Presenting chart bars as 100% value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421943#M1162733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I have created the chart below and I'm struggling to get the bars to be represented as a 100% value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the expression below - any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Source_Key={1}&amp;gt;}Ans_Percent)/q1_total_sum_perc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable - q1_total_sum_perc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum ({$&amp;lt;Source_Key={1}&amp;gt;}Ans_Percent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24908" class="jive-image-thumbnail jive-image" onclick="" alt="Div Chart.png" src="/legacyfs/online/24908_Div Chart.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Nov 2012 00:27:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-10T00:27:51Z</dc:date>
    <item>
      <title>Presenting chart bars as 100% value</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421943#M1162733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I have created the chart below and I'm struggling to get the bars to be represented as a 100% value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the expression below - any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Source_Key={1}&amp;gt;}Ans_Percent)/q1_total_sum_perc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable - q1_total_sum_perc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum ({$&amp;lt;Source_Key={1}&amp;gt;}Ans_Percent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24908" class="jive-image-thumbnail jive-image" onclick="" alt="Div Chart.png" src="/legacyfs/online/24908_Div Chart.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 00:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421943#M1162733</guid>
      <dc:creator />
      <dc:date>2012-11-10T00:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting chart bars as 100% value</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421944#M1162734</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; Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sum(ur expression) / sum(total ur expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Sum(sales)/sum(total sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 00:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421944#M1162734</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-10T00:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting chart bars as 100% value</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421945#M1162735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayil, I tried that but wanted to check that I have it right as the result is a bit strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a variable VarDivPerc which was my expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Source_Key={1}&amp;gt;}Ans_Percent)/q1_total_sum_perc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then applied your suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(VarDivPerc)/ Sum(TOTAL VarDivPerc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It came out like this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24909" class="jive-image-thumbnail jive-image" onclick="" alt="Div Chart 2.png" src="/legacyfs/online/24909_Div Chart 2.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 01:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421945#M1162735</guid>
      <dc:creator />
      <dc:date>2012-11-10T01:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting chart bars as 100% value</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421946#M1162736</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;It seems you don't have to discard the dimension totally as you want the ratios for each division:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Source_Key={1}&amp;gt;}&amp;nbsp; Ans_Percent)/Sum({$&amp;lt;Source_Key={1}&amp;gt;} TOTAL&amp;lt;Division_Name&amp;gt; Ans_Percent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the way you use the variables isn't suitable for this case as it's calculated ONCE for the whole chart.&lt;/P&gt;&lt;P&gt;If you remove the equal sign the content of the variable will be substituted into your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 08:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421946#M1162736</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-10T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Presenting chart bars as 100% value</title>
      <link>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421947#M1162737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is excellent, it has worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 20:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Presenting-chart-bars-as-100-value/m-p/421947#M1162737</guid>
      <dc:creator />
      <dc:date>2012-11-10T20:06:49Z</dc:date>
    </item>
  </channel>
</rss>

