Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Minimum of a Summed Column

stalwar1

i have my data which i want to get minimum, maximum and possibly an average as I get to understand the lowest customer and top customers in terms of sales...Each customer buys several products on different dates so we have to sum(sales) of each customer first then get the min, avg, max

I have tried this Min(Sales) for which I only get the smallest number irregardless of the total lowest per all customers.

Regards

2 Replies
jwjackso
Specialist III
Specialist III

The aggr function https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/ChartFunctions/aggr.htm may be helpful

Min(Aggr(Sum(Sales),Customer))

Anonymous
Not applicable
Author

tried it not working,,, was thinking something along using total function but i cant really figure it out