<?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: Show duplicate rows in TableBox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080711#M360132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Option 1 is really the only sensible option. Adding a single integer that is sequentially incremented is definitely the most efficient way of getting a unique ID. This allows QlikView to optimize away the symbol table for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If adding one single integer column makes it not feasible I can't understand what would be good. Maybe scrolling through millions of records is not the right way of doing it then. Can you "force" the user to make some minimum selections to reduce the number of rows by an order of magnitude or two? So for example having one or more list boxes with dimensions where you set the ALWAYS ONE SELECTED VALUE restriction should do the trick. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 20:51:50 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2016-03-03T20:51:50Z</dc:date>
    <item>
      <title>Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080710#M360131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;I am loading some data from my qvd into a tableBox which shows distinct rows only. I want all the duplicate rows to be displayed. Below are few approaches I tried.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add RowNo() as an extra field so that it makes every row unique.&lt;P&gt;(Drawback: Not a feasible solution as the qvd contains millions of records)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Used valueLoop() and added a Straight table to display data. (Refer:&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/thread/11488"&gt;https://community.qlik.com/thread/11488&lt;/A&gt;)&lt;P&gt;(Drawback: Straight table does not display a horizontal scrollbar. thus , user will not be able to scroll horizontally and check what all columns are available in table.)&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #000000; font-family: 'Calibri','sans-serif'; font-style: normal; font-weight: normal; margin-top: 0in; margin-bottom: 0pt;"&gt;Is there another efficient solution to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 07:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080710#M360131</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-03-03T07:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080711#M360132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Option 1 is really the only sensible option. Adding a single integer that is sequentially incremented is definitely the most efficient way of getting a unique ID. This allows QlikView to optimize away the symbol table for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If adding one single integer column makes it not feasible I can't understand what would be good. Maybe scrolling through millions of records is not the right way of doing it then. Can you "force" the user to make some minimum selections to reduce the number of rows by an order of magnitude or two? So for example having one or more list boxes with dimensions where you set the ALWAYS ONE SELECTED VALUE restriction should do the trick. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 20:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080711#M360132</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-03T20:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080712#M360133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There Pooja N,&lt;/P&gt;&lt;P&gt;Yes, there is another way.&amp;nbsp; You can use the &lt;SPAN style="font-family: 'courier new', courier;"&gt;Dual()&lt;/SPAN&gt; keyword to achieve what you are trying to do, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14570394158981200" jivemacro_uid="_14570394158981200"&gt;
&lt;P&gt;T1:&lt;/P&gt;
&lt;P&gt;load * inline [&lt;/P&gt;
&lt;P&gt;id, month&lt;/P&gt;
&lt;P&gt;1, jan&lt;/P&gt;
&lt;P&gt;2, jan&lt;/P&gt;
&lt;P&gt;3, jan&lt;/P&gt;
&lt;P&gt;4, jan&lt;/P&gt;
&lt;P&gt;5, jan&lt;/P&gt;
&lt;P&gt;6, jan&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;T2:&lt;/P&gt;
&lt;P&gt;load&lt;/P&gt;
&lt;P&gt;dual(month, id) as themonth&lt;/P&gt;
&lt;P&gt;Resident T1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a tablebox with &lt;SPAN style="font-family: 'courier new', courier;"&gt;themonth&lt;/SPAN&gt; as the only field and it will be repeated 6 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.qliktastic.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080712#M360133</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2016-03-03T21:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080713#M360134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only drawback I see is - the size of my presentation layer qvw file increases and it takes a bit more time to reload .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080713#M360134</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-03-04T08:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080714#M360135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;I am not really sure about how can I incorporate the solution you suggested. The field 'id' specified in your example seems to be unique for every record of table 'T1' . I don't have any field that makes every row unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080714#M360135</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-03-04T08:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080715#M360136</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;Create a new filed like below and add it in table box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Rowno() AS SNo,&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080715#M360136</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-04T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080716#M360137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could just use the &lt;SPAN style="font-family: 'courier new', courier;"&gt;RowNo()&lt;/SPAN&gt; function, if you are loading from a QVD, then this would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14570870483372360" jivemacro_uid="_14570870483372360"&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;DUAL(RowNo(), Month) as Month&lt;/P&gt;
&lt;P&gt;from your.qvd (QVD);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every field in QlikView has 2 values, a text value and a numeric.&amp;nbsp; The &lt;SPAN style="font-family: 'courier new', courier;"&gt;Dual()&lt;/SPAN&gt; function lets us set them both explicitly.&amp;nbsp; Adding &lt;SPAN style="font-family: 'courier new', courier;"&gt;RowNo()&lt;/SPAN&gt; ensures that each field is unique. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to post more of your code, I'd be happy to write something that fits what you have.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.qliktastic.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080716#M360137</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2016-03-04T10:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show duplicate rows in TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080717#M360138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Approach one is the better way&amp;nbsp; to handle your problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;...&lt;/P&gt;&lt;P&gt;try like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add the ROWNO() function to the file where your presenting the data don't add this column in the QVD&lt;/P&gt;&lt;P&gt;2.Since &lt;SPAN style="font-size: 13.3333330154419px;"&gt;ROWNO() produce a number , memory allocation will be must efficient &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;3.In the front end try to show your charts on conditional mode i.e. instead of showing 10 years of data ...have check to select the year so that your chart loading will be really fast &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-duplicate-rows-in-TableBox/m-p/1080717#M360138</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-04T10:37:32Z</dc:date>
    </item>
  </channel>
</rss>

