<?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 Aggregate function at script level - using QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440875#M164331</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 a requirement to apply a SUM function on certain &lt;SPAN style="color: #008000;"&gt;columns&amp;nbsp; &lt;/SPAN&gt;- group by at a different column. &lt;/P&gt;&lt;P&gt;So&lt;A&gt;&lt;/A&gt;, is it possible &lt;STRONG&gt;to use a Aggregate function at script level while importing data from a QVD file.&lt;/STRONG&gt; Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I can't do the aggregation while creating the QVD file (connecting to Database) ;since the &lt;SPAN style="color: #008000;"&gt;columns &lt;/SPAN&gt;are coming from different tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;Original Script: Load &lt;SPAN style="color: #ff0000;"&gt;A,B,C,D&lt;/SPAN&gt; from&lt;STRONG&gt; test.qvd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required: Load &lt;SPAN style="color: #ff0000;"&gt;A, Sum(B) as B1, Sum(C) as C1,D&lt;/SPAN&gt; from&lt;STRONG&gt; test.qvd &lt;/STRONG&gt;&lt;SPAN style="color: #ff6600;"&gt;group by&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt; A&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt; &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 18:06:02 GMT</pubDate>
    <dc:creator>sureshbaabu</dc:creator>
    <dc:date>2013-01-21T18:06:02Z</dc:date>
    <item>
      <title>Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440875#M164331</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 a requirement to apply a SUM function on certain &lt;SPAN style="color: #008000;"&gt;columns&amp;nbsp; &lt;/SPAN&gt;- group by at a different column. &lt;/P&gt;&lt;P&gt;So&lt;A&gt;&lt;/A&gt;, is it possible &lt;STRONG&gt;to use a Aggregate function at script level while importing data from a QVD file.&lt;/STRONG&gt; Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I can't do the aggregation while creating the QVD file (connecting to Database) ;since the &lt;SPAN style="color: #008000;"&gt;columns &lt;/SPAN&gt;are coming from different tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;Original Script: Load &lt;SPAN style="color: #ff0000;"&gt;A,B,C,D&lt;/SPAN&gt; from&lt;STRONG&gt; test.qvd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required: Load &lt;SPAN style="color: #ff0000;"&gt;A, Sum(B) as B1, Sum(C) as C1,D&lt;/SPAN&gt; from&lt;STRONG&gt; test.qvd &lt;/STRONG&gt;&lt;SPAN style="color: #ff6600;"&gt;group by&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt; A&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;P&gt; &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 18:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440875#M164331</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2013-01-21T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440876#M164332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hi Suresh,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;yes&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it is possible&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;you should put&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;group by&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;all fields that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;are&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;no&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;aggregate function&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Load &lt;SPAN style="color: #ff0000;"&gt;A, Sum(B) as B1, Sum(C) as C1,D&lt;/SPAN&gt; from&lt;STRONG&gt; test.qvd &lt;/STRONG&gt;&lt;SPAN style="color: #ff6600;"&gt;group by&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt; A,D&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Tonial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 18:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440876#M164332</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2013-01-21T18:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440877#M164333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the following script will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Load &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #ff0000;"&gt;A, Sum(B) as B1, Sum(C) as C1, Sum(D) as D1&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; from&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt; test.qvd &lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #ff6600;"&gt;group by&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #ff0000;"&gt; A&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 18:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440877#M164333</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-01-21T18:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440878#M164334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tonial,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. I tested with a sample data and it works having all the un-aggregated columns in group by,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But In my real senario, I have close to 30 cloums that doest have any aggregate function. So, would you suggest using all 30 columns in the group by. Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 03:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440878#M164334</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2013-01-22T03:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440879#M164335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello K&lt;SPAN class="replyToName"&gt;rishnamoorthy&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the Response. You Script is correct too, when I have my column D as numeric.&lt;/P&gt;&lt;P&gt;But, few of my columns are having characters, So, I believe having them on Group by will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 03:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440879#M164335</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2013-01-22T03:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440880#M164336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Suresh,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Yes&lt;/SPAN&gt;&lt;SPAN&gt;, it works&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the same as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;SQL. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;You need to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;put all&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;columns without&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;aggregate function&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;group by&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Tonial.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 10:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440880#M164336</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2013-01-22T10:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440881#M164337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the clarification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 11:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440881#M164337</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2013-01-22T11:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate function at script level - using QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440882#M164338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Tonial&lt;/P&gt;&lt;P&gt;how to this qvd file in right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93611_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-function-at-script-level-using-QVD/m-p/440882#M164338</guid>
      <dc:creator />
      <dc:date>2015-07-22T10:57:09Z</dc:date>
    </item>
  </channel>
</rss>

