<?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: TOTAL question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580349#M42371</link>
    <description>&lt;P&gt;My best guess without beeing able to examine your application is that the issue lies in quantity_delivered.&amp;nbsp; Does the field reside inside the same table as unit_quantity? Is it an one-to-one relation between the row unit_quantity and the row quantity_delivered?&lt;/P&gt;&lt;P&gt;Do you get expected output when using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (unit_quantity * quantity_delivered)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And when using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (TOTAL&amp;lt;CalendarMonthName_C&amp;gt;(unit_quantity * quantity_delivered))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 11:12:48 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-05-15T11:12:48Z</dc:date>
    <item>
      <title>TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580340#M42369</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using this expression to calculate the percentage of each item in total selection.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (Revenues)
/
Sum (TOTAL&amp;lt;CalendarMonthName_C&amp;gt;(Revenues))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="revenues.png" style="width: 988px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12070i270508465ABDB4C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="revenues.png" alt="revenues.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm using in this expression and the results are that all items are 100%&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (unit_quantity * quantity_delivered)
/
Sum (TOTAL&amp;lt;CalendarMonthName_C&amp;gt;(unit_quantity * quantity_delivered))&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="weight.png" style="width: 997px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12071iD81F7A0FA877A318/image-size/large?v=v2&amp;amp;px=999" role="button" title="weight.png" alt="weight.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580340#M42369</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-15T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580349#M42371</link>
      <description>&lt;P&gt;My best guess without beeing able to examine your application is that the issue lies in quantity_delivered.&amp;nbsp; Does the field reside inside the same table as unit_quantity? Is it an one-to-one relation between the row unit_quantity and the row quantity_delivered?&lt;/P&gt;&lt;P&gt;Do you get expected output when using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (unit_quantity * quantity_delivered)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And when using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (TOTAL&amp;lt;CalendarMonthName_C&amp;gt;(unit_quantity * quantity_delivered))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580349#M42371</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-05-15T11:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580354#M42372</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your reply, and no, the quantity_delivered comes from lines of revenues table and unit comes from the article database&lt;/P&gt;&lt;P&gt;best&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580354#M42372</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-15T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580368#M42373</link>
      <description>&lt;P&gt;What is the expression for Weight Sold? Is it&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (unit_quantity * quantity_delivered)&lt;/LI-CODE&gt;&lt;P&gt;Do you see 1.991.581,00 repeated on all rows of the chart when you use this&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum (TOTAL&amp;lt;CalendarMonthName_C&amp;gt;(unit_quantity * quantity_delivered))&lt;/LI-CODE&gt;&lt;P&gt;Alternatively, you can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(unit_quantity * quantity_delivered)
/
Aggr(NODISTINCT Sum(unit_quantity * quantity_delivered), CalendarMonthName_C)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 11:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580368#M42373</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-15T11:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580652#M42409</link>
      <description>&lt;P&gt;Great, nor it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-15_20h59_00.png" style="width: 987px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12116i6B55FD2AD742A729/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-15_20h59_00.png" alt="2019-05-15_20h59_00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thank's&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 19:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580652#M42409</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-15T19:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL question</title>
      <link>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580975#M42438</link>
      <description>&lt;P&gt;Glad I was able to help&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/TOTAL-question/m-p/1580975#M42438</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-16T11:02:44Z</dc:date>
    </item>
  </channel>
</rss>

