it´s sounds interesting but y tried but there is something that doesn´t Works.
i don´t know where is the place to write $(Variable_Top)
this is my ranking
This is my chart with out filter
then y delete the 10 and write $(Variable_TOP) it,s my variable.
and then the chart it´s like that
you are going to replace the value 10 in limitation with your variable $(Variable_TOP)
You do not need to reference it in your dimension just the limitation.
Have you set a default value for your Top =10 for example you can do this in the manage vairables section or in your load script
Hope this helps