Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Duplicates in Table Box

Hi ,

I recently got to experience that the table box removes duplicate rows in its view. However we need duplicate rows in the data. Is there a way we can show the duplicate rows as well?

Thanks,

Sunny

1 Solution

Accepted Solutions
rubenmarin

There are many ways to avoid that, one simple way can be add a string identifying the table:

table1:

LOAD ...

     'T1.' & RowNo() as RowId

FROM.... ;

table2:

LOAD ...

     'T2.' & RowNo() as RowId

FROM.... ;

View solution in original post

6 Replies
rubenmarin

Hi Sunny, you can add a field wich have different values for each row, this way there will be no row with all values duplicated:

LOAD ...

     RowNo() as RowId

FROM.... ;

Anonymous
Not applicable
Author

Hi Ruben,

Thanks for quick response. This could work, however I have data from 3 tables which I am concatenating in the script.

If I add Rowno in each of the 3 scripts, won't it start from Row 1 in each script? causing duplicates again

Thanks

Anonymous
Not applicable
Author

Hi Ruben,

Thanks for quick response. This could work, however I have data from 3 tables which I am concatenating in the script.

If I add Rowno in each of the 3 scripts, won't it start from Row 1 in each script? causing duplicates again

Thanks

awhitfield
Partner - Champion
Partner - Champion

Ha ha,

duplicate replies in a call about duplicates!

rubenmarin

There are many ways to avoid that, one simple way can be add a string identifying the table:

table1:

LOAD ...

     'T1.' & RowNo() as RowId

FROM.... ;

table2:

LOAD ...

     'T2.' & RowNo() as RowId

FROM.... ;

Anonymous
Not applicable
Author

Thanks Marin

Appreciate it