First off if there is an answer already in the community then I am sorry I have missed it...
I am looking to Rank and Bucket Data... what I would like to do is rank a number of customers based on their value. I would then like to take the total value and split that into 10 equal buckets (i.e. 10% gaps) and count the number of customers (based on their ranking order) that it takes to fill that bucket. Also it would be good to know the actual value of that bucket (as it is not expected that things will split nicely)
So I would end up with something like:
Number of Clients
Now I felt that I could do this with a combination of AGGR, Class and Rank (from looking around and reading) but I cannot seem to get anything to work as I would like (i.e. the above table) or get close.
I did find the following against an example that looked positive:
I have tried to complete a mock up of the table using some data... hopefully this will make a bit of sense and it does show that the bucket and the data will never fully line up due to the way that the data works.
In your database do you have the sales/value aggregated at customer level or do you have multiple rows for each customer which needs to be aggregated on the front end? Based on your sample, you only had one row for each customer, there is a QV12 solution which I can propose to get to this
Dimension uses a concept which is only available in QlikView 12. The sortable Aggr function is finally here!. This concept allowed me to sort the customer descending by Value. But this only worked because the data was already aggregated. There is still no way to sort by an expression such as Sum(Value) which would be needed if you data is not aggregated.