<?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 avoiding double count in load group by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/avoiding-double-count-in-load-group-by/m-p/1595947#M737714</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a following load&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;customer_id,&lt;BR /&gt;customer_prd,&lt;BR /&gt;date&lt;/P&gt;&lt;P&gt;from data.csv&lt;/P&gt;&lt;P&gt;Data_final:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;count(distinct customer_id) as No_of Cust,&lt;BR /&gt;customer_prd,&lt;BR /&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;resident Data&lt;BR /&gt;group by (customer_prod,date)&lt;/P&gt;&lt;P&gt;drop table Data;&lt;BR /&gt;&lt;BR /&gt;however problem is, i am getting double/triple counts of the customers as unique customer_id exists across multiple customer_prd . Solution i am looking at is to grab the unique customer counts only across the data sets. Is this possible? thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>AJKhan</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>avoiding double count in load group by</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-double-count-in-load-group-by/m-p/1595947#M737714</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a following load&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;customer_id,&lt;BR /&gt;customer_prd,&lt;BR /&gt;date&lt;/P&gt;&lt;P&gt;from data.csv&lt;/P&gt;&lt;P&gt;Data_final:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;count(distinct customer_id) as No_of Cust,&lt;BR /&gt;customer_prd,&lt;BR /&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;resident Data&lt;BR /&gt;group by (customer_prod,date)&lt;/P&gt;&lt;P&gt;drop table Data;&lt;BR /&gt;&lt;BR /&gt;however problem is, i am getting double/triple counts of the customers as unique customer_id exists across multiple customer_prd . Solution i am looking at is to grab the unique customer counts only across the data sets. Is this possible? thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-double-count-in-load-group-by/m-p/1595947#M737714</guid>
      <dc:creator>AJKhan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: avoiding double count in load group by</title>
      <link>https://community.qlik.com/t5/QlikView/avoiding-double-count-in-load-group-by/m-p/1597411#M737715</link>
      <description>&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;Data_final:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;date,&lt;/P&gt;&lt;P&gt;count(distinct customer_id) as No_of Cust,&lt;BR /&gt;Concat(customer_prd,',') As customer_prd,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;resident Data&lt;BR /&gt;group by&amp;nbsp; date&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 18:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoiding-double-count-in-load-group-by/m-p/1597411#M737715</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2019-06-29T18:48:26Z</dc:date>
    </item>
  </channel>
</rss>

