<?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 Sum and Division in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240801#M502265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you using straight table or you're using pivot? If you're using straight, you should be able to change Total to SUM OF ROWS.&lt;/P&gt;&lt;P&gt;If you're using pivot, you will have to change the expression to aggregate in first row (since you add filters to your expression via Set analysis).&lt;/P&gt;&lt;P&gt;Regards, Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Oct 2010 08:21:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-19T08:21:05Z</dc:date>
    <item>
      <title>Sum and Division</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240800#M502263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to Sum column A and divide the total by column B but my expression is not giving me the correct total.&lt;/P&gt;&lt;P&gt;My expression is:&lt;/P&gt;&lt;P&gt;************************************************************************************************************************************&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Registration_Code={'2'}, Vehicle_Status = {'Normal'}, Contract_Prefix={'A'},YMDate = DisplayYM&amp;gt;} [Total_proceeds])&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Registration_Code={'2'}, Vehicle_Status = {'Normal'}, Contract_Prefix={'A'},YMDate = DisplayYM&amp;gt;} Market_Value)&lt;/P&gt;&lt;P&gt;************************************************************************************************************************************&lt;/P&gt;&lt;P&gt;When I add Total_proceeds in Excel and divide it by the sum of Market_Value, I get 46.74% but qlikview is showing 51.74%.&lt;/P&gt;&lt;P&gt;Is there something wrong with the expression or should the expression be totally different?&lt;/P&gt;&lt;P&gt;tx,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 08:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240800#M502263</guid>
      <dc:creator />
      <dc:date>2010-10-19T08:15:08Z</dc:date>
    </item>
    <item>
      <title>Sum and Division</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240801#M502265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you using straight table or you're using pivot? If you're using straight, you should be able to change Total to SUM OF ROWS.&lt;/P&gt;&lt;P&gt;If you're using pivot, you will have to change the expression to aggregate in first row (since you add filters to your expression via Set analysis).&lt;/P&gt;&lt;P&gt;Regards, Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 08:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240801#M502265</guid>
      <dc:creator />
      <dc:date>2010-10-19T08:21:05Z</dc:date>
    </item>
    <item>
      <title>Sum and Division</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240802#M502266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Miha, don't know how I could have missed that. &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 08:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Division/m-p/240802#M502266</guid>
      <dc:creator />
      <dc:date>2010-10-19T08:38:54Z</dc:date>
    </item>
  </channel>
</rss>

