<?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: how to include only a specific row from duplicates? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845948#M296999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob &amp;amp; Timanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both of your solutions worked, when I added Distinct Clause to the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Rob: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;count({&amp;lt;ProductID=E({&amp;lt;Status-={EXPIRED}&amp;gt;})&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;count({&amp;lt;Status={EXPIRED}, ProductID={"=count(DISTINCT Status)=1"}&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier; text-decoration: underline;"&gt;Timanshu:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr(Count(DISTINCT Status),ProductID)=1,count({&amp;lt;Status={'EXPIRED'}&amp;gt;} Distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you please explain the logic in your expression. specifically: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr(Count(DISTINCT Status),ProductID)=1, (this part) I am trying to understand the expression and how Qlik calculates.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 16:48:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-26T16:48:12Z</dc:date>
    <item>
      <title>how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845940#M296991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following requirement: Table1 is my trans table and table2 has status info on ProductIDs. I want to count only those productID which has only Expired status not Created. In table2, you can see all IDs have 2 statuses except for XYZ004 &amp;amp; XYZ006. How do i set up syntax on the front end so that it counts only 004 &amp;amp; 006. I have -----&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;count(DISTINCT(if(Status='EXPIRED','ProductID')))&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;and it is not bringing the correct result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="expired_only1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87479_expired_only1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="expired_only2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87480_expired_only2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current syntax is showing this result. how to achieve right Result?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="expired_only3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/87481_expired_only3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 22:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845940#M296991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-25T22:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845941#M296992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using a Set expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Status={EXPIRED}&amp;gt;}DISTINCT ProductID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 23:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845941#M296992</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-05-25T23:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845942#M296993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;count({&amp;lt;Status={EXPIRED}&amp;gt;}DISTINCT ProductID) and it is still giving me the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;because prodIDs have a duplicate status with "EXPIRED", it is counting those instances. I want it to count when ProdID has only 1 status and that Status is 'EXPIRED'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 23:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845942#M296993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-25T23:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845943#M296994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake. Are your only two statuses EXPIRED and CREATED? Or are there more. What I'm thinking is that you could check for not CREATED like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Status=-{CREATED} DISTINCT ProductID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 23:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845943#M296994</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-05-25T23:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845944#M296995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, thanks for your reply. It is still counting 10 instances when a prodID with Expired status occurs. It seems it is counting those IDs that have created &amp;amp; expired status. How to make it count only those that have Expired but not Created.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;count({&amp;lt;Status=-{CREATED} DISTINCT ProductID) this expression is counting IDS that are not created; i.e. Expired. Since 8/10 IDs have an "Expired Counterpart" the total count is 10 (:. 2 IDs that have only Expired) How to fetch IDS that have "Created Counterpart". Meaning, to be pulled into the table, it should have only Expired, not a "Created Counterpart"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Thanks again.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 00:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845944#M296995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T00:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845945#M296996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction** &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;How to fetch IDS that have "Expired Counterpart". &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 00:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845945#M296996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T00:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845946#M296997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way of saying this would be to exclude anything that has a Status of anything besides EXPIRED?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;count({&amp;lt;ID=E({&amp;lt;Status-={EXPIRED}&amp;gt;})&amp;gt;}ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or another way, if you wanted ID selections to be honored:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;count({&amp;lt;Status={EXPIRED}, ID={"=count(DISTINCT Status)=1"}&amp;gt;}ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 04:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845946#M296997</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-05-26T04:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845947#M296998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, The Products&amp;nbsp; with On-Shelf value as Yes&amp;nbsp; and Status as Expired will give the result.&lt;/P&gt;&lt;P&gt;But if it is not the case, then as you required, this expression will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(Count(DISTINCT Status),ProductID)=1,count({&amp;lt;Status={'EXPIRED'}&amp;gt;}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ProductID&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 08:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845947#M296998</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-05-26T08:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845948#M296999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob &amp;amp; Timanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both of your solutions worked, when I added Distinct Clause to the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Rob: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;count({&amp;lt;ProductID=E({&amp;lt;Status-={EXPIRED}&amp;gt;})&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;count({&amp;lt;Status={EXPIRED}, ProductID={"=count(DISTINCT Status)=1"}&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier; text-decoration: underline;"&gt;Timanshu:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr(Count(DISTINCT Status),ProductID)=1,count({&amp;lt;Status={'EXPIRED'}&amp;gt;} Distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you please explain the logic in your expression. specifically: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr(Count(DISTINCT Status),ProductID)=1, (this part) I am trying to understand the expression and how Qlik calculates.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 16:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845948#M296999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T16:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845949#M297000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Aggr function will group values by ProductId and count(distinct status) will give the count of distinct values corresponding to that ProductId. So, if count is 1 that means the ProductId is either repeated with same status or productid is not repeated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you still dont understand the logic. Don't worry you will eventually gain.You probably only need to understand aggr function functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 18:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845949#M297000</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-05-26T18:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845950#M297001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the aggr() even required in this case? ProductID is already the chart dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 18:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845950#M297001</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-05-26T18:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845951#M297002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually taken ProductID and Status both as dimension. And also if for a product id having multiple records with status as expired, then it will count multiple times. but ideally it should count only 1 for single productid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, same goes with the expression you suggested. If &lt;SPAN style="font-size: 13.3333330154419px;"&gt;for a product id having multiple records with status as expired, then it will count multiple times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this may not happen in scenario that &lt;STRONG&gt;John&lt;/STRONG&gt; faced. So, both expressions are nice to apply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 19:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845951#M297002</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-05-26T19:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845952#M297003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rob, Thanks again for the solution you provided. In my effort to understand your work, I have the following interpretation from your expressions. Any comments/corrections will encourage me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;count({&amp;lt;ProductID=E({&amp;lt;Status-={EXPIRED}&amp;gt;})&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;Here, the Expn is telling to exclude all non-Expired ProdIDs &amp;amp; distinctly count the remainder ProdIDS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;2) &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;count({&amp;lt;Status={EXPIRED}, ProductID={"=count(DISTINCT Status)=1"}&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;here it should be understood that consider only those Records with Expired Status &amp;amp; within that, distinctly count those ProdIDs that have only one type of status (is this equivalent to the part of your expn: &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;ProductID={"=count(DISTINCT Status)=1"}?? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;or :&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;consider only those Records with Expired Status &amp;amp; within that, distinctly count those ProdIDs that occur with only 1 type of status..?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 05:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845952#M297003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T05:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845953#M297004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I request you to kindly mark the Question as answered. It will help others to easily determine the right answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 05:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845953#M297004</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-05-27T05:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845954#M297005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Timanshu, Done &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 14:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845954#M297005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845955#M297006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;2)count({&amp;lt;Status={EXPIRED}, ProductID={"=count(DISTINCT Status)=1"}&amp;gt;}Distinct ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: arial, helvetica, sans-serif;"&gt;The comma in the Set Expression should be read as "AND". Think of the set expression (everything between {}) as selections. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: arial, helvetica, sans-serif;"&gt;Select Status=EXPIRED AND count(of Statuses)=1, then count(DISTINCT ProductID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 18:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845955#M297006</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-05-27T18:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to include only a specific row from duplicates?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845956#M297007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 20:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-include-only-a-specific-row-from-duplicates/m-p/845956#M297007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-27T20:29:55Z</dc:date>
    </item>
  </channel>
</rss>

