<?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 How do I combine this data in the script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162352#M35876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about if you create a pivot table with the dimensions aPayment ID, Account-No and Payment date and create a formula as sum(Amount)?&lt;/P&gt;&lt;P&gt;Within the script you use the SQL&lt;/P&gt;&lt;P&gt;select paymentID, AccountNo, paymentdate, sum(amount) from table&lt;/P&gt;&lt;P&gt;group by paymentID, AccountNo, paymentdate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 00:34:53 GMT</pubDate>
    <dc:creator>bumin</dc:creator>
    <dc:date>2011-01-11T00:34:53Z</dc:date>
    <item>
      <title>How do I combine this data in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162351#M35875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a horrible database that has a lot of examples of the follow:&lt;/P&gt;&lt;P&gt;Payment ID: 1 Account Number: 12345 Payment Date: 1/1/2009 Payment Amount: 50&lt;/P&gt;&lt;P&gt;Payment ID: 2 Account Number: 12345 Payment Date: 1/1/2009 Payment Amount: 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to combine these two (or three or four or five) into one, so this one should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Payment ID: 1 Account Number: 12345 Payment Date: 1/1/2009 Payment Amount: 150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really just learning how to use the script and I really don't have a clue how to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 00:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162351#M35875</guid>
      <dc:creator />
      <dc:date>2011-01-11T00:23:03Z</dc:date>
    </item>
    <item>
      <title>How do I combine this data in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162352#M35876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about if you create a pivot table with the dimensions aPayment ID, Account-No and Payment date and create a formula as sum(Amount)?&lt;/P&gt;&lt;P&gt;Within the script you use the SQL&lt;/P&gt;&lt;P&gt;select paymentID, AccountNo, paymentdate, sum(amount) from table&lt;/P&gt;&lt;P&gt;group by paymentID, AccountNo, paymentdate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 00:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162352#M35876</guid>
      <dc:creator>bumin</dc:creator>
      <dc:date>2011-01-11T00:34:53Z</dc:date>
    </item>
    <item>
      <title>How do I combine this data in the script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162353#M35877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try the following scripts,&lt;/P&gt;&lt;P&gt;select min("Payment ID") as "Payment ID", sum(Amount) as Amount, "Account Number","Payment Date"&lt;/P&gt;&lt;P&gt;from TableName group by "Account Number", "Payment Date"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 03:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-combine-this-data-in-the-script/m-p/162353#M35877</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-01-11T03:35:40Z</dc:date>
    </item>
  </channel>
</rss>

