Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to remove duplicate values row in qlikview

Hi,Experts

My extracted data having duplicate values in a row.My data is below manner

Header 1Header 2Header 3Header 4Header 5
            ID     NAME   MARKS  SCORE PINCODE
   1  RAM  34  2  3453
   2  LRENU  44  7  909323
   2  LRENU  44  8  909323
   4  JOHN   54  6  3847
   4  JOHN  54  4  3847
   6   HUE   84  5  9303

Here I want to remove duplicate rows & getting  my output with based on max score.

The output is below manner

ID    NAME       MARKS     SCORE    PINCODE

1      RAM           34              2                 3453

2      LRENU        44              8                909323

4       JOHN          54               6               3847

6       HUE            84               5                9303

Thanks in Advance.

1 Solution

Accepted Solutions
yenumulagopi
Contributor III
Contributor III

Hi Suman,

Using Straight table we can do this.

Take the dimensions as ID, Name, Marks and PINCODE.

In the Expression : Sum(SCORE)

If you do this you will get the desire output

You can refer the attachment for better understanding.@

Thanks,

Gopi

View solution in original post

8 Replies
Chanty4u
MVP
MVP

try this

Data:

LOAD A,

    B,

C

FROM

tabl1;

Inner Join(Data)

LOAD

a,

max(Score) as NewScore

Resident Data

Group by Name;

Anonymous
Not applicable
Author

At the time of  reload the edit script  show the output same as the excel sheet.But my output was above manner.

Thanks Chanty.

yenumulagopi
Contributor III
Contributor III

Hi Suman,

Using Straight table we can do this.

Take the dimensions as ID, Name, Marks and PINCODE.

In the Expression : Sum(SCORE)

If you do this you will get the desire output

You can refer the attachment for better understanding.@

Thanks,

Gopi

yenumulagopi
Contributor III
Contributor III

Hi Suman,

use Max(SCORE).

Thanks

Anonymous
Not applicable
Author

Hi Gopi krishna

Its good,the 2nd  row get the max score value(i,e.8).In my output the score value of 2nd row is 7.

Thanks.

yenumulagopi
Contributor III
Contributor III

Hi Suman,

You can check my 2nd post. It is matching with your correct output manner.

Thanks

Anonymous
Not applicable
Author

You give me good suggestion.Its working.

Thanks Gopi krishna.

yenumulagopi
Contributor III
Contributor III

You Welcome.

Don't forgot to make it as correct answer.

Thanks