<?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: Group by in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706409#M591958</link>
    <description>&lt;P&gt;your script looks good to me.&lt;BR /&gt;What do you mean with "&lt;SPAN&gt;duplicate records" ??&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 08:44:41 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2020-05-29T08:44:41Z</dc:date>
    <item>
      <title>Group by in script</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706373#M591956</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;i need a help in creating a group by expression&lt;/P&gt;&lt;P&gt;below is my table.&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Salesorder,&lt;/P&gt;&lt;P&gt;Material,&lt;/P&gt;&lt;P&gt;from xyz.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in that table i need to create a one more column called count of material. so my final out put will be&amp;nbsp;Salesorder,Material,materialcount from the table.&lt;/P&gt;&lt;P&gt;I have created a below script, but it is giving duplicate records. please help me my approach is correct or not.&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Salesorder,&lt;/P&gt;&lt;P&gt;Material,&lt;/P&gt;&lt;P&gt;count(Material) as materialcount,&lt;/P&gt;&lt;P&gt;from xyz.qvd group by Salesorder,Material;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706373#M591956</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2024-11-16T00:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Group by in script</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706393#M591957</link>
      <description>&lt;P&gt;May be :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Tmp:

load

Salesorder,

Material

from xyz.qvd;

output:
noconcatenate

load Salesorder,Material,count(Material) as materialcount resident Tmp group Salesorder,Material;
left join load * resident Tmp;

drop table Tmp;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 May 2020 08:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706393#M591957</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-29T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Group by in script</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706409#M591958</link>
      <description>&lt;P&gt;your script looks good to me.&lt;BR /&gt;What do you mean with "&lt;SPAN&gt;duplicate records" ??&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 08:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-script/m-p/1706409#M591958</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-05-29T08:44:41Z</dc:date>
    </item>
  </channel>
</rss>

