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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Georgy_Paul
Contributor II
Contributor II

Table to show product with max sales

Hi,

Is it possible to create a table with country as row and corresponding product name with max sales. In a nutshell, is it possible for the measure to show a text ?

Labels (2)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

YES. Try like:

Dimension : Country

Exp : FirstSortedValue(Product,  -Aggr(Sum(Sales), Country, Product))

View solution in original post

2 Replies
tresB
Champion III
Champion III

YES. Try like:

Dimension : Country

Exp : FirstSortedValue(Product,  -Aggr(Sum(Sales), Country, Product))

Georgy_Paul
Contributor II
Contributor II
Author

Thanks !