<?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: Urgent help needed on Aggregation Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755622#M1049569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Manish. It works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 10:37:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-04T10:37:23Z</dc:date>
    <item>
      <title>Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755616#M1049563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Phase_Productivity_Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;={'Development'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;[Sum of TotalHours]&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(10&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;/(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)+1))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: 'Tahoma','sans-serif';"&gt;When i am adding this to a straight table with Employee ID as dimension it is giving me correct value. But i have to use it in a text object to populate values based on employee ID. i.e. i have to aggregate it based on employee id.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an employee has data between Feb-Oct his Max Month will be 10 and Min Month will be 2, if it is between Jan-Sep Max month will be 9 and Min month will be 1 and the values should be calculated accordingly but the current expression is giving max month as 10 and min month as 1 for all the employees.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: 'Tahoma','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: 'Tahoma','sans-serif';"&gt;I am using the below expression to aggregate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: 'Tahoma','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum(Aggr( &lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Phase_Productivity_Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;={'Development'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;[Sum of TotalHours]&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(10&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;/(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: blue;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 7.5pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;)+1))) , Emplyee ID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is not giving me correct value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me the right way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 16:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755616#M1049563</guid>
      <dc:creator />
      <dc:date>2014-11-03T16:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755617#M1049564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 16:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755617#M1049564</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-03T16:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755618#M1049565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;i do not know with 100% certainty what the right expression with your app will be, but i can tell you with 100% certainty that you cannot reference a field that has a name with a space with it without enclosing in square brackets&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;in the following expression, change '&lt;SPAN style="color: #000000; font-family: Tahoma, sans-serif; font-size: 10px;"&gt;Emplyee ID'&amp;nbsp; to&amp;nbsp; [&lt;SPAN style="color: #000000; font-family: Tahoma, sans-serif; font-size: 10px;"&gt;Emplyee ID] please...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sum(Aggr( &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: maroon;"&gt;Phase_Productivity_Category&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;={'Development'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: maroon;"&gt;[Sum of TotalHours]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;(10&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;/(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: blue;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 7.5pt; font-family: Tahoma, sans-serif; color: black;"&gt;)+1))) , Emplyee ID))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 16:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755618#M1049565</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-11-03T16:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755619#M1049566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample data is in this format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="349" style="border: 1px solid rgb(0, 0, 0); width: 300px; height: 305px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Employee ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sum of Hours&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Phase&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Oct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mar&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sep&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Apr&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jul&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Aug&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mar&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;28&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jun&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Development&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My desired output should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(10+21+23)*(10/(10-1+1)) + (12+15+17)*(10/(9-2+1))+ (18+20+25+23)*(10/(8-4+1))+ (12+28+21)*(10/(6-3+1)) = 433.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my current expression is returning (10+21+23+12+15+17+18+20+25+23+12+28+21)*(10/(10-1+1)) = 245.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically instead of taking Max Month and Min Month employee wise and multiplying with the corresponding amount its taking the overall sum and multiplying with the overall Max Month and Min Month which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 18:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755619#M1049566</guid>
      <dc:creator />
      <dc:date>2014-11-03T18:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755620#M1049567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. But i am taking (Employee ID] only. That was just a typo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 18:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755620#M1049567</guid>
      <dc:creator />
      <dc:date>2014-11-03T18:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755621#M1049568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create one Inline Table as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month, MonthID&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jan, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Feb, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mar, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; Apr, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; May, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jun, 6&lt;/P&gt;&lt;P&gt;&amp;nbsp; Jul, 7&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aug, 8&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sep, 9&lt;/P&gt;&lt;P&gt;&amp;nbsp; Oct, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; Nov, 11&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dec, 12 &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use below expression&lt;/P&gt;&lt;P&gt;=SUM(Aggr(SUM([Sum of Hours])/(10/(Max(MonthID)-Min(MonthID)+1)),[Employee ID]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 08:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755621#M1049568</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-04T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help needed on Aggregation Function</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755622#M1049569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Manish. It works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 10:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-help-needed-on-Aggregation-Function/m-p/755622#M1049569</guid>
      <dc:creator />
      <dc:date>2014-11-04T10:37:23Z</dc:date>
    </item>
  </channel>
</rss>

