<?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: How to aggregate base on unique field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199873#M519585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the dimensions of your pivot table? Would you be able to provide us with the expected output (in a pivot table form) from your current sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2016 16:01:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-17T16:01:17Z</dc:date>
    <item>
      <title>How to aggregate base on unique field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199872#M519584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have this kind of table:&lt;/P&gt;&lt;P&gt;i would like to display in pivot table the promo amt per cv_number and also display the sum(amount) per product.&lt;/P&gt;&lt;P&gt;Let assume i have a thousand lines with promo_amt (which is referring to amt per cv_number) and we have also the per product charging of this per cv_number. Do i have to use set analysis? i want to have a multiple dimension for aggregation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="306"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="43" width="53"&gt;cv_number&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="46"&gt;territory_code&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="81"&gt;promo_amt&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;strProdcd&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="62"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5101&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5102&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75005&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5103&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5104&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75005&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5105&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5106&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75003&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5107&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5108&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75005&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5109&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5110&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75005&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5111&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;56085&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;5651&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;5112&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;31,196.91&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;75005&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2,599.77&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 03:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199872#M519584</guid>
      <dc:creator>rotero</dc:creator>
      <dc:date>2016-10-17T03:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate base on unique field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199873#M519585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the dimensions of your pivot table? Would you be able to provide us with the expected output (in a pivot table form) from your current sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 16:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199873#M519585</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-17T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate base on unique field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199874#M519586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first i would like to have a dimension per document wherein i can display the promo amount per &lt;STRONG&gt;cv_number&lt;/STRONG&gt;, then i will sum the promo amt per prod which is the &lt;STRONG&gt;amount&lt;/STRONG&gt; field, i need to check if they have the same amount.&lt;/P&gt;&lt;P&gt;Eventually i will explore other dimension like per &lt;STRONG&gt;territory_code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FYI originally&amp;nbsp; as per checking the loaded data came from 2 diff table: its like header and details tables.&lt;/P&gt;&lt;P&gt;But initially i got the script the loaded the data as my example above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 00:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199874#M519586</guid>
      <dc:creator>rotero</dc:creator>
      <dc:date>2016-10-18T00:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate base on unique field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199875#M519587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ruby - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure I understand what you are looking to get. May be someone else can offer any advice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 02:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-aggregate-base-on-unique-field/m-p/1199875#M519587</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-18T02:47:30Z</dc:date>
    </item>
  </channel>
</rss>

