1 of 1 people found this helpful
Here you go...you were 99% there!
I added the following calculated field
[Top N Filter]
[rank]<=[Parameters].[Top N Customers]
and then brought this onto the filter shelf and set to true (with the compute using advanced, with sort, as you had for your [rank] measure.
Thank you Simon for your solution!