<?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 remove the single values in the table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689921#M1246042</link>
    <description>&lt;P&gt;You want to do this in script or only for a table?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 15:39:25 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2020-04-01T15:39:25Z</dc:date>
    <item>
      <title>How to remove the single values in the table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689917#M1246039</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have a table which contains two columns order number and line item number. Each order number can contain multiple line items numbers and few are having single line items number also. Here my requirement is i have to remove if order number having single line item number from the table. below is the sample data.&lt;/P&gt;&lt;P&gt;Sample data:&lt;/P&gt;&lt;TABLE border="1" width="36.16652115896389%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;Order number&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;Line item number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10003&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10004&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10005&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10005&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.44993498049415%" height="24px"&gt;10006&lt;/TD&gt;&lt;TD width="19.829117749409335%" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output expected:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;Order number&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;Line item number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10001&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10002&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10002&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10005&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.333px" height="24px"&gt;10005&lt;/TD&gt;&lt;TD width="129.333px" height="24px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689917#M1246039</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the single values in the table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689921#M1246042</link>
      <description>&lt;P&gt;You want to do this in script or only for a table?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 15:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689921#M1246042</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-01T15:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the single values in the table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689964#M1246044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Anything is fine for me. If possible give the solution in both ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689964#M1246044</guid>
      <dc:creator>venkatbza</dc:creator>
      <dc:date>2020-04-01T17:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the single values in the table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689968#M1246047</link>
      <description>&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;Order number]&lt;/SPAN&gt; where&amp;nbsp;&lt;SPAN&gt;cnt &lt;/SPAN&gt;&amp;gt;1;&lt;/P&gt;&lt;P&gt;Load [&lt;SPAN&gt;Order number]&lt;/SPAN&gt;,&amp;nbsp; count(distinct Li&lt;SPAN&gt;ne item number) as cnt from urtable group by&amp;nbsp; [&lt;SPAN&gt;Order number]&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;inner join(A)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load * from urtable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689968#M1246047</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2020-04-01T17:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove the single values in the table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689971#M1246051</link>
      <description>&lt;P&gt;i see asinhya has give script to remove it during load.&lt;/P&gt;&lt;P&gt;use below approach to flag it so that you do it in Ui as well. (where&amp;nbsp;MoreThan1LineItemFlag=1)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Orders:
load * inline [

Order number,	Line item number
10001,	1
10001,	2
10001,	3
10002,	1
10002,	2
10002,	3
10002,	4
10003,	1
10004,	1
10005,	1
10005,	2
10006,	1
];

Count:
load [Order number],
 1 as MoreThan1LineItemFlag
 where Count&amp;gt;1
;
load [Order number]
,count([Line item number]) as Count
resident Orders
group by [Order number]
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 17:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-the-single-values-in-the-table/m-p/1689971#M1246051</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-01T17:20:14Z</dc:date>
    </item>
  </channel>
</rss>

