Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MEBG93
Creator
Creator

Group by in Aggr() or chart expression

Hello everyone!

Silly question: is there a way to Group by a dimension in a aggr () function? I need to show only the top salesmans each by their highest sales. Eg: attached picture

 

Labels (2)
3 Replies
Femke
Contributor III
Contributor III

Hi MEBG93

You can try to put a limitation in your chart (see picture) and choose for the top 3?

Kind regars

Femke V

 

MEBG93
Creator
Creator
Author

Hi Femke! Yes i'm aware of that functionality, although that criteria comes independently from the overall performance. I just want to show the top sales by salesman. 

I tried doing if(rank(sum(sales), 3)=1, sum(sales)) but didn't grouped by salesman.

 

Thanks!

Femke
Contributor III
Contributor III

Did you try this: Sum(Aggr(max(Sales,Salesman)