<?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: Best Approach to grouping values into a new column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189704#M884080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script - I thought it would be easier doing it that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 14:03:00 GMT</pubDate>
    <dc:creator>martin_hamilton</dc:creator>
    <dc:date>2016-09-21T14:03:00Z</dc:date>
    <item>
      <title>Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189702#M884078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a file which contains multiple rows whereby I am adding 2 columns together (InvoiceNetAmount + InvoiceTaxAmount) to create a new one (InvoiceAmount).&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;&lt;STRONG&gt;Customer Number&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;Invoice Number&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;Invoice Line 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;Invoice Net Amount&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;Invoice Tax Amount&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;Invoice Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2.00&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish then to sum the columns related to a certain grouping i.e. CustomerNumber &lt;STRONG&gt;and&lt;/STRONG&gt; InvoiceNumber to create a new column on the next file I load, the above values would show the following&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;&lt;STRONG&gt;Customer Number&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;Invoice Number&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;Invoice Amount&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;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10.00&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;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the best approach to create a temporary table which i then join the results of this to the next table I load. Or am I over complicating things?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated - have attached a sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189702#M884078</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189703#M884079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script or front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189703#M884079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-21T13:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189704#M884080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script - I thought it would be easier doing it that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189704#M884080</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-09-21T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189705#M884081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saying that I am not sure of best practice in this circumstance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189705#M884081</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-09-21T14:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189706#M884082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189706#M884082</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2016-09-21T14:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189707#M884083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre, Doesnt seem to be any attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189707#M884083</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-09-21T14:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189708#M884084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1128028"&gt;Re: Best Approach to grouping values into a new column&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189708#M884084</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2016-09-21T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189709#M884085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats works in the dashboard but I was looking to have it included in the script - is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189709#M884085</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2016-09-21T14:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189710#M884086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Customer Number], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Number], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Line ID], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Net Amount], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Tax Amount]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="233626" data-objecttype="1" href="https://community.qlik.com/thread/233626"&gt;https://community.qlik.com/thread/233626&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Customer Number], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Number],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(RangeSum([Invoice Net Amount], [Invoice Tax Amount])) as [Invoice Amount]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [Customer Number], [Invoice Number];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138192_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 15:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189710#M884086</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-21T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach to grouping values into a new column</title>
      <link>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189711#M884087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aMOUNT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138195_aMOUNT.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 15:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-Approach-to-grouping-values-into-a-new-column/m-p/1189711#M884087</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2016-09-21T15:48:11Z</dc:date>
    </item>
  </channel>
</rss>

