If you are running version 11, you can use those variables in the Dimension Limits tab in the chart object properties instead of the expression, that saves you to write a complex aggr() rank() function.
Thank you Miguel, I know about this option. That was my first version of my solution :-)
I thinking about expression, which will be as a trigger on variables (OnChange Action). Because I need to see on left slider (duplicate the number of rows to left slider), how many products does this percentage of sales.