<?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: Count distinct and group by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368160#M828182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i do count distinct i get as total results 3 because sellers had the same IdOrder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="324"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="147"&gt;Étiquettes de lignes&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="177"&gt;Nombre distinct de idorder&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller1&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller2&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller3&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller4&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller5&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid #9bc2e6; border-right: none; border-bottom: none; border-left: none; background: #ddebf7;"&gt;Total général&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid #9bc2e6; border-right: none; border-bottom: none; border-left: none; background: #ddebf7;"&gt;3&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;but the right total results should be like that: 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 324px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Étiquettes de lignes&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Nombre distinct de idorder&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller1&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller2&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller3&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller4&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller5&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Total général&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;15&lt;/TH&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;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2017 18:03:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-29T18:03:50Z</dc:date>
    <item>
      <title>Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368158#M828179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still &lt;SPAN style="font-size: 10pt;"&gt;new in Qlikview and I need your help to know how to count occurences within using sql. I wanna to count the number of orderes per seller&amp;nbsp; KPI ,but i couldn't get correct results because on data table source many sellers had the same IdOder :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here is how my simplified the table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="240"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;seller&lt;/TD&gt;&lt;TD width="80"&gt;OrderID&lt;/TD&gt;&lt;TD width="80"&gt;Customer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller1&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller2&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;TD&gt;Customer2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller3&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;TD&gt;Customer3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller4&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;TD&gt;Customer4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller5&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;TD&gt;Customer5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller1&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller2&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;TD&gt;Customer2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller3&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;TD&gt;Customer3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller4&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;TD&gt;Customer4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller5&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;TD&gt;Customer5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller1&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller2&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD&gt;Customer2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller3&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD&gt;Customer3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller4&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD&gt;Customer4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;seller5&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD&gt;Customer5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; i used&amp;nbsp; aggr(count (distinct IdOrder), Seller) but doesn't work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance for help&lt;/SPAN&gt;&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/Count-distinct-and-group-by/m-p/1368158#M828179</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368159#M828180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if I have understood, like this&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168342_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 22:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368159#M828180</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-27T22:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368160#M828182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i do count distinct i get as total results 3 because sellers had the same IdOrder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="324"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="147"&gt;Étiquettes de lignes&lt;/TD&gt;&lt;TD style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="177"&gt;Nombre distinct de idorder&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller1&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller2&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller3&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller4&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;seller5&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid #9bc2e6; border-right: none; border-bottom: none; border-left: none; background: #ddebf7;"&gt;Total général&lt;/TD&gt;&lt;TD align="right" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid #9bc2e6; border-right: none; border-bottom: none; border-left: none; background: #ddebf7;"&gt;3&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;but the right total results should be like that: 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 324px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Étiquettes de lignes&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Nombre distinct de idorder&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller1&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller2&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller3&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller4&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;seller5&lt;/TD&gt;&lt;TD align="right" style="color: #575757; text-align: -webkit-right; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;Total général&lt;/TH&gt;&lt;TH style="color: #ffffff; background-color: #6690bc; text-align: center; padding: 2px;"&gt;15&lt;/TH&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;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368160#M828182</guid>
      <dc:creator />
      <dc:date>2017-06-29T18:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368161#M828183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try default option like Total Mode in Sum, May be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 04:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368161#M828183</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-30T04:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368162#M828184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If You have Straight Table set Total mode to Sum of Rows (as Anil suggests)&lt;/P&gt;&lt;P&gt;or use this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;OrderID&lt;/SPAN&gt;),&lt;SPAN style="color: #800000;"&gt;seller&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 04:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368162#M828184</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-30T04:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368163#M828186</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;Have you tried like below?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count(Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aggr(count(OrderID),Customer,seller)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168644_Capture.JPG" style="height: 370px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 04:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368163#M828186</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-06-30T04:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct and group by</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368164#M828187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Big Thanks to all of&amp;nbsp; you for your helps :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;As you suggested ,i tried this below expression &lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;OrderID&lt;/SPAN&gt;),&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;seller&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;)) &lt;/SPAN&gt; and i set table to sum mode on rowns and it works now.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Imane&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 16:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-and-group-by/m-p/1368164#M828187</guid>
      <dc:creator />
      <dc:date>2017-06-30T16:38:33Z</dc:date>
    </item>
  </channel>
</rss>

