<?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 Getting a total percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-a-total-percentage/m-p/1912684#M1218240</link>
    <description>&lt;P&gt;I have a chart where I want to show quantity delivered on the due date is or isn't the same as the actual ship date. The Dimension is City. I have two expressions:&lt;/P&gt;
&lt;P&gt;Order Qty =sum(OrderQuantity)&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;Order Qty On Time =If(DueDate = ShipDate, sum(OrderQuantity), 0)&lt;/P&gt;
&lt;P&gt;Everything is fine except when I add a third column for percentage.&lt;/P&gt;
&lt;P&gt;% Order Qty On Time =[Order Qty On Time] / [Order Qty]&lt;/P&gt;
&lt;P&gt;The column detail naturally shows either 100% or 0%&lt;/P&gt;
&lt;P&gt;The problem is on the Total line where nothing I have tried shows the correct percentage which should be around 85%. I've tried multiple combinations using the AGGR or TOTAL functions, but nothing seems to work.&lt;/P&gt;
&lt;P&gt;Suggestions?&lt;/P&gt;
&lt;P&gt;See below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lsmith48461_0-1648748723326.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75889i4FE3787F15E77117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lsmith48461_0-1648748723326.png" alt="lsmith48461_0-1648748723326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 17:45:40 GMT</pubDate>
    <dc:creator>lsmith48461</dc:creator>
    <dc:date>2022-03-31T17:45:40Z</dc:date>
    <item>
      <title>Getting a total percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-percentage/m-p/1912684#M1218240</link>
      <description>&lt;P&gt;I have a chart where I want to show quantity delivered on the due date is or isn't the same as the actual ship date. The Dimension is City. I have two expressions:&lt;/P&gt;
&lt;P&gt;Order Qty =sum(OrderQuantity)&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;Order Qty On Time =If(DueDate = ShipDate, sum(OrderQuantity), 0)&lt;/P&gt;
&lt;P&gt;Everything is fine except when I add a third column for percentage.&lt;/P&gt;
&lt;P&gt;% Order Qty On Time =[Order Qty On Time] / [Order Qty]&lt;/P&gt;
&lt;P&gt;The column detail naturally shows either 100% or 0%&lt;/P&gt;
&lt;P&gt;The problem is on the Total line where nothing I have tried shows the correct percentage which should be around 85%. I've tried multiple combinations using the AGGR or TOTAL functions, but nothing seems to work.&lt;/P&gt;
&lt;P&gt;Suggestions?&lt;/P&gt;
&lt;P&gt;See below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lsmith48461_0-1648748723326.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75889i4FE3787F15E77117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lsmith48461_0-1648748723326.png" alt="lsmith48461_0-1648748723326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 17:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-percentage/m-p/1912684#M1218240</guid>
      <dc:creator>lsmith48461</dc:creator>
      <dc:date>2022-03-31T17:45:40Z</dc:date>
    </item>
  </channel>
</rss>

