This is a great simple way to filter by the Top N. For a full buildout check out this article Rank Pivots by a Measure