Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SALES REPORT: TOP CUSTOMERS

hey evryone short questiion regarding a sale report , how do i present my top customers and my wickest customers?

1 Solution

Accepted Solutions
JonnyPoole
Employee
Employee

Have a look a the following. 2 horizontal bars. One with top 5 and other with bottom 5

i made the min/max of the axis the same.

The measure is sum(Sales) so the max is the maximum value by customer (i have country)

Max( total aggr( sum(Sales), country) )  

and the min is similar

Max( total aggr( sum(Sales), country) )  


i also moved the axis on the top bar to the top and changed the colors


I think its a decent approach to show the top/bottom 5

Capture.PNG

Capture2.PNG

View solution in original post

12 Replies
reddy-s
Master II
Master II

Hi Jhonatan,

A scatter plot would be the best way to show it. It would be very easy to pic the outlays.

You can even go with colour coding (RAG status) to give a better visual appearance.

JonnyPoole
Employee
Employee

Have a look a the following. 2 horizontal bars. One with top 5 and other with bottom 5

i made the min/max of the axis the same.

The measure is sum(Sales) so the max is the maximum value by customer (i have country)

Max( total aggr( sum(Sales), country) )  

and the min is similar

Max( total aggr( sum(Sales), country) )  


i also moved the axis on the top bar to the top and changed the colors


I think its a decent approach to show the top/bottom 5

Capture.PNG

Capture2.PNG

Not applicable
Author

i did it and got this....report.PNG

Not applicable
Author

Max( total aggr( NIS_TOTPRICE, CUST_CUSTNAME) )

JonnyPoole
Employee
Employee

The expression is syntactically.incorrect. The first argument for the aggr () function is a chart aggregation function like sum()

Example:

Max( total aggr( sum(NIS_TOTPRICE), CUST_CUSTNAME))

Not applicable
Author

i don't see where are u placing this expression....

JonnyPoole
Employee
Employee

Take a look at the bottom right part of my 2nd screenshot above. I'm.using it to.define a min or max on the X axis scale. That way the scales for both apps line up and it's useful to see how far apart the.top.customers.are.from the bottom.customers.

Not applicable
Author

Hey i used your suggestion and i am getting a table with 10 customers,

but still no getting the top/lowest ....

1.PNG

2.PNG

JonnyPoole
Employee
Employee

It LOOKS like you are getting both top 10 and bottom 10 in the tables. Perhaps you want to hit the 'Sorting' property on the right to ensure you are sorting by ILS Total ?  To me it looks like only the sort is missing.