Skip to main content

Posts

Showing posts with the label Top N parameter in Tableau

Dynamic Top N parameter in Tableau

Create a Dynamic Top N parameter in Tableau Use the Sample - Superstore data source and follow these steps:   Drag " Manufacturer  "to the Rows shelf. Drag " Sales"  to the Columns shelf. In the  Data  pane, click the drop down to the right of  Dimensions  and select  Create Parameter . Name the Parameter (in this case " Top N" ) as shown below.           To the right of  Allowable  values:, in the  Create Parameter  window, select  Range . Under  Range of values , specify the  Minimum, Maximum, and Step size  desired. Click  OK. Right click on " Manufacturer " in the Rows shelf and select  Edit Filter . Navigate to the  Top  tab in the Filter window as shown below:      Select  By field : In the second drop down field to the left of  "by",  select  "Top N" Ensure that the field to filter by (usually a measure) is ...