in Technology by

What is a Parameter in Tableau? Give an Example.

1 Answer

0 votes
by

A parameter is a dynamic value that a customer could select, and you can use it to replace constant values in calculations, filters, and reference lines.

For example, when creating a filter to show the top 10 products based on total profit instead of the fixed value, you can update the filter to show the top 10, 20, or 30 products using a parameter.

Continuing with the same example of top-five and bottom five customers, follow these steps:

  1. Select the drop-down arrow on the top right corner of the Data pane. 
  2. Click on Create Parameter and fill in the details:
    • Name - Number of top/bottom customers 
    • Select ‘Range’ for Allowable Values and fill the fields as:
      • Minimum - 5
      • Maximum - 20
      • Step - 5
  3. Edit the set ‘Top Customers’ by changing the ‘By Field’ value of 5 with ‘Select number of top/bottom customers.’ Do the same changes in the ‘Bottom Customers’ set. 
  4. Go to the created parameter on the Data pane, right-click on it and select ‘Show Parameter Control.’ Now, if you increase the step within the range, the data appears as per the parameter value set.

Following is the visualization for a step size of 10:

Related questions

0 votes
    Tableau is an example for BI Tool a)False b)True...
asked Apr 28, 2021 in Technology by JackTerrance
0 votes
    Give an example for step definition using “Given” function?...
asked Nov 16, 2020 in Technology by JackTerrance
0 votes
    Give an example of a behavior is driven test in plain text Cucumber?...
asked Nov 16, 2020 in Technology by JackTerrance
0 votes
    What is KVC and KVO? Give an example of using KVC to set value....
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    What are emulsions ? What are their different types ? Give an example of each type ? Select the correct answer from above options...
asked Jan 3, 2022 in Education by JackTerrance
0 votes
    What are micelles ? Give an example of a micelle system. Select the correct answer from above options...
asked Jan 2, 2022 in Education by JackTerrance
0 votes
    Give one example each of ( a ) α − ( emission, ( b ) β c − − ( emission, and ( c ) K − ... Write an equation for these nuclear changes. Select the correct answer from above options...
asked Jan 2, 2022 in Education by JackTerrance
0 votes
    What is meant by a fissiionable isotope? How are such isotopes produced artifically ? Give an example. Select the correct answer from above options...
asked Jan 2, 2022 in Education by JackTerrance
0 votes
    What do you understand by tracers ? Give an example of a tracer that can be used in determining the mechanism of a chemical reaction. Select the correct answer from above options...
asked Jan 2, 2022 in Education by JackTerrance
0 votes
    Answer the following questions: 1. What is data type? Give an example. 2. What is the difference between 19/6 & 19/60. ... a++ & a+ =1. Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Give one example of an application which uses augmented reality. Select the correct answer from ... by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 12, 2021 in Education by JackTerrance
0 votes
    Give an example of the following: Select the correct answer from above options...
asked Nov 12, 2021 in Education by JackTerrance
...