<?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: aggregation question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252634#M396263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm hoping to get the same hours in the tbl1 column to tbl2 so we can compare hours between the tables.&amp;nbsp; I think we have different granularity levels, so that's why I was trying to work with AGGR. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 14:50:46 GMT</pubDate>
    <dc:creator>ngosz4074</dc:creator>
    <dc:date>2017-03-08T14:50:46Z</dc:date>
    <item>
      <title>aggregation question</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252632#M396261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables joined by Employee ID where I have the repeating total in one column and the correct hours value in the last (tbl2) column.&amp;nbsp; I have been using this Aggr(Sum([Measure -tbl1])),ID,Name,Code,Date) - but I get the same result.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added Distinct to the AGGR formula and I get 0,0,2,0 as a result set.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Aggr(Sum(Distinct([Measure -tbl1])),ID,Name,Code,Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any advice on tweaking the formula?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Name&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Code&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Measure -tbl1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Measure -tbl2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Joy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1550&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Joy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1550&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Joy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1550&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Joy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1550&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;.25&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 14:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252632#M396261</guid>
      <dc:creator>ngosz4074</dc:creator>
      <dc:date>2017-03-08T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation question</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252633#M396262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you looking to get here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 14:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252633#M396262</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-08T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation question</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252634#M396263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm hoping to get the same hours in the tbl1 column to tbl2 so we can compare hours between the tables.&amp;nbsp; I think we have different granularity levels, so that's why I was trying to work with AGGR. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 14:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-question/m-p/1252634#M396263</guid>
      <dc:creator>ngosz4074</dc:creator>
      <dc:date>2017-03-08T14:50:46Z</dc:date>
    </item>
  </channel>
</rss>

