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: 
rwaikar
Contributor II
Contributor II

Want to get only maximum value from multiple row data

Hi,

I want to get only maximum session ID value from the multiple row data for same user and same exam.

Example and Current data like:

Exam User Session ID User Email Exam Name
1053 william.kennedy@eccellent.com Windchill Associate Certification Exam
1120 william.kennedy@eccellent.com Windchill Associate Certification Exam
1132 william.kennedy@eccellent.com Windchill Associate Certification Exam
1304 william.kennedy@eccellent.com Windchill Associate Certification Exam
1316 william.kennedy@eccellent.com Windchill Associate Certification Exam
1606 whrn87@motorolasolutions.com Creo Associate Certification Exam
1608 whrn87@motorolasolutions.com Creo Associate Certification Exam

 

Desired Result:

Exam User Session ID User Email Exam Name
1316 william.kennedy@eccellent.com Windchill Associate Certification Exam
1608 whrn87@motorolasolutions.com Creo Associate Certification Exam

 

Thank you in advance.

Labels (5)
1 Solution

Accepted Solutions
Gabbar
Specialist
Specialist

In load Editor:-

Table:-
Load * from Source;

Table2:-
Load Max(Exam User Session ID) as Exam User Session ID, "User Email", "Exam Name" resident Table
Group by "User Email", "Exam Name";

Drop Table Table;

In Set Analysis:-
aggr(Max(Exam User Session ID),"User Email", "Exam Name")

View solution in original post

1 Reply
Gabbar
Specialist
Specialist

In load Editor:-

Table:-
Load * from Source;

Table2:-
Load Max(Exam User Session ID) as Exam User Session ID, "User Email", "Exam Name" resident Table
Group by "User Email", "Exam Name";

Drop Table Table;

In Set Analysis:-
aggr(Max(Exam User Session ID),"User Email", "Exam Name")