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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show rows only have top values?


Hi,

I have data as below. How to get the table in qvw only to show rows which is Max(No)

for eg:

considering below sample data I need to show output only the row

S908779       US          11/06/2013       20         19038                 56                     64563

IDRegionDateManufactureNoKetyMoniytNotax
S908766US11/03/2013200
S908767US11/03/201310461461
S908768US11/03/20138461
S908769US01/04/20131461461
S908770US11/04/201310461461
S908771US11/04/20138510461
S908772US11/04/20132034535523423
S908773US01/05/20131461461
S908774US11/05/20138510461
S908775US11/05/201310461461
S908776US11/05/201320345345534
S908777US01/06/20131461461
S908778US11/06/201310461461
S908779US11/06/201320190385664563
S908780US11/06/20138510461
S908781US01/07/20131461461
S908782US11/07/201310461461
S908783US11/07/201313510461
S908784US11/07/20138461
S908785US11/07/20132024565465
S908786US01/08/20131461461
S908787US11/08/201310461461

Can anyone suggest me please.

Thanks.

35 Replies
Not applicable
Author

Thanks. Try this. when I used this table is not populating. all dimensions and expression disabled.

Any help please.

settu_periasamy
Master III
Master III

Hi,

I used the bill markham attachement, and update the expression like

only ( { <No={'$(=max(No))'},Kety={'$(=max(Kety))'}>} No )

MK_QSL
MVP
MVP

Amelia, Can you provide excel file with output for any 3-4 ID?

Not applicable
Author

Thanks. Please see attached.

This have 24 IDs

MK_QSL
MVP
MVP

have you provided output also?

Not applicable
Author

see for ID= Rt0976 I need output ss below.

                          

IDRegionDateManufactureNoKetyMoniytNotax
Rt0976US02/10/201413677613
buzzy996
Master II
Master II

sorry....confused, but in ur above post u mentioned ur looking for ID=ID = S908779  but in latest post ur looking for ID=Rt0976!

pls clarify?

Not applicable
Author

I have checked in my file ID = S908779 is presented only once. if I use S908779 anyhow it will show the maximum value because of presence only one time.

That is the reason I changed the ID to Rt0976

to make clear what I need.

Hope this makes sense.

Please any help. is it possible to get the output.

MK_QSL
MVP
MVP

Can you explain the Login again please..

Let me tell you what I understood...

1) ID Rt0976

2) Number NO should be Maximum so 13 for this ID

3) Now you have 39 Records left...which are fulfilling above criteria.

4) What is the Logic to get DateManufacture = 02/10/2014? as I am getting Date 02/09/2014...

Please clarify... Thanks

Not applicable
Author

The one which I used to add output is as below

ID = Rt0976

maximum No = 13

Maximum Kety =  677

There are two dates 02/09/2014 and 02/10/2014 the Maximum I need is DateManufacture = 02/10/2014.

I know it is tricky. Is there any solution to show all max values.

Please help.