KNOWLEDGE BASE

Filter Top N Items With A Button


Published: 13 Sep 2020
Last Modified Date: 14 Sep 2020

Question

Filter top n items with a button

Environment

  • Tableau Desktop

Answer

1. Create a sheet that behaves like a button
User-added image
2. Create a filter like below
User-added image

3. Click on color in the Marks card and choose white to hide the marks
User-added image

4. Create a filter action as below:
User-added image

Result: Clicking on the button will filter top 3 rows 
Did this article resolve the issue?