Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Kaiquesbezerra
Contributor II
Contributor II

Table with duplicate rows

Good afternoon, dear, how are you?

In my QlikView table, the data is appearing duplicity, would you have any way to bring just the line that has the latest date?

Here's an example image of how my table is

Thanks hugs

 

Labels (1)
2 Solutions

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

Whats a reliable identifier for that table?
what you need to do is after load your table.
resident load another one and do an inner join
e.g.
inner join (YourTable)
load
ID,
Max(Date) as Date
resident YourTable

View solution in original post

krishna_2644
Specialist III
Specialist III

Use Firtsortedvalue() or Max() function to find the latest Dt.

View solution in original post

2 Replies
dplr-rn
Partner - Master III
Partner - Master III

Whats a reliable identifier for that table?
what you need to do is after load your table.
resident load another one and do an inner join
e.g.
inner join (YourTable)
load
ID,
Max(Date) as Date
resident YourTable
krishna_2644
Specialist III
Specialist III

Use Firtsortedvalue() or Max() function to find the latest Dt.