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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
satyam285889
Contributor II
Contributor II

Please Help with Set Analysis Expression

I'm trying to make a new column using the set expression for Highest Category sold by each employee to show up.

 

This is what I have so far on the table.

 

satyam285889_0-1634186705087.png

 

2 Replies
tresB
Champion III
Champion III

Since you haven't shared a sample data set, I will assume and suggest accordingly. Try something like:

FirstSortedValue(Category ,-Aggr(Sum(Sales), Category, EmployeeID))

satyam285889
Contributor II
Contributor II
Author

I've shared a copy of the screenshot from my Table.

I'm trying to get the highest selling Category for each employee that is listed in the table. Using the Set Analysis expression.