<?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: Help with Sum (By Group?) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Sum-By-Group/m-p/1674804#M592919</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use the below code:&lt;/P&gt;&lt;P&gt;=IF(AGGR(SUM([Actual Hours]),[Project Code])&amp;gt;AGGR(SUM([Budgeted Hours]),[Project Code]),AGGR(SUM([Actual Hours]),[Project Code]))&lt;/P&gt;&lt;P&gt;But still you have to select the project code then only you can see actual value in text object.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 13:01:01 GMT</pubDate>
    <dc:creator>sumanta1234</dc:creator>
    <dc:date>2020-02-12T13:01:01Z</dc:date>
    <item>
      <title>Help with Sum (By Group?)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Sum-By-Group/m-p/1674781#M592918</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having an issue someone can hopefully assist with.&lt;/P&gt;&lt;P&gt;I have a table with the following fields:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Project Code,&amp;nbsp; &amp;nbsp;Actual Hours,&amp;nbsp; &amp;nbsp;Budgeted Hours&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The total Budgeted Hours &amp;gt; total Actual Hours... however I need to figure out how to show in a text box the sum of Actual Hours &amp;gt; Budgeted Hours per Project Code.&lt;/P&gt;&lt;P&gt;So essentially across all Project Codes Budgeted Hours &amp;gt; Actual Hours.&lt;/P&gt;&lt;P&gt;There are a few Project Codes where Actual Hours &amp;gt; Budgeted Hours.&lt;/P&gt;&lt;P&gt;How can I just show these? I've tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(if(Actual&amp;gt;Budgeted, Actual) but of course this returns 0 until a Project Code with Actual &amp;gt; Budgeted is selected as otherwise it's calculating all and returning '-' as the total budgeted &amp;gt; actual across all codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this makes sense,&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 12:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Sum-By-Group/m-p/1674781#M592918</guid>
      <dc:creator>DSTaylor</dc:creator>
      <dc:date>2020-02-12T12:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Sum (By Group?)</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Sum-By-Group/m-p/1674804#M592919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use the below code:&lt;/P&gt;&lt;P&gt;=IF(AGGR(SUM([Actual Hours]),[Project Code])&amp;gt;AGGR(SUM([Budgeted Hours]),[Project Code]),AGGR(SUM([Actual Hours]),[Project Code]))&lt;/P&gt;&lt;P&gt;But still you have to select the project code then only you can see actual value in text object.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Sum-By-Group/m-p/1674804#M592919</guid>
      <dc:creator>sumanta1234</dc:creator>
      <dc:date>2020-02-12T13:01:01Z</dc:date>
    </item>
  </channel>
</rss>

