Tableau parameters can be likened to a container of elements that can be used to input values that are not already present or fixed in the current datasheet. Several operations can be done via such parameters, including customized data views based on numerical values or dimensions, according to the target areas of data analysis.
Several actions can transform your parameters to produce more responses, also known as parameter actions. With such methods, your audience can have a more direct engagement with the data based on their requirements.
Creating a Tableau Parameter
A tableau parameter can be created in the following steps:
- Step I: Begin with clicking on the drop-down menu at the right corner of the Data panel. Then choose to ‘Create Parameter’ from the List.
- Step II: This would open a Create Parameter dialog box and would prompt you to assign a new name to the parameter, choose its data type. Once the current value gets set, you can also add a data type from the List.
- Step III: You can now choose a display format for the created parameter in the following presets like Number, Currency, Scientific, and Percentage.
- Step IV: The options All, List, and Range would help you make the selection based on the allowable values inside a field and make a parameter. You may also have a list of values from the choice of the field, or set a well-defined range to insert values within the setting.
For example, in the case of adding values for a parameter using Add from the field option, the List would then present all of its values inside the List of Values option. You can delete chosen values by the help of the ‘X’ icon right next to them, and once that is completed, you can press OK.
- Step V: This makes the brand new parameter added to the Parameters section located at the bottom left.
Implementing a Tableau Parameter
As a tableau parameter is created, you can add it to your workbook by right-clicking the required setting’s name and then choose the Add to Sheet option. The drop-down menu would then show several parameter options like Copy, Edit, Rename, and Duplicate.
Once the Show Parameter Control field is chosen, the new parameter control box would show on your right where you need to manually input the field values and view them in the selected parameters.
If you need to hide this card, then you can choose the Hide Card option from the drop-down menu, where other operations, such as editing parameters, titles, and formatting, also exist. It can be done by selecting the type of the parameter card, such as Type In and Compact List.
Read about: Tableau Developer Salary in India
Editing a Tableau Parameter
For editing a pre-existing parameter, you can right-click on the name of the parameter and select the ‘Edit’ option from the drop-down menu.
Now, as you know, there are different types of filters available in a tableau that can be applied to prepare the data for analysis and visualization, you can also insert parameters to the entire process right from the Filter window. To perform the addition of tableau parameters in a filter, you need to open the drop-down menu and choose ‘Create a New Parameter’ option.
A dialog box appears where you can choose to make a parameter. Select the range to any value, and click OK.
Immediately a tableau parameter gets created where all the values get applied to the bar graph. These values can also be manually put in the type-in filter.
Using Tableau Parameter in a Filter
Parameters contain the ability to enhance the values in a calculation dynamically. Instead of manual intervention, you can implement a parameter that can be further changed in its parameter control settings and updated accordingly.
To put a parameter in a calculation, you can drag the required parameter from the Data panel and drop it in the calculation editor to take the place of the current formula or at any new location.
Using Tableau Parameter in a Reference Box
You can also implement parameters to dynamically modify any reference line to a new location instead of its predefined location on the axis. There are several parameters you can choose from to complete this operation present in the Add Reference line. Choose according to the function you’d like to apply.
There are several ways and hacks in which tableau parameters can enhance your datasets and visualizations for generating valuable insights. The operations, scope, and functionalities of the parameters all add up to the same cause. We hope you now know better about all of the tableau parameters in general.
If you are curious to learn about Tableau, check out IIIT-B & upGrad’s PG Diploma in Data Science which is created for working professionals and offers 10+ case studies & projects, practical hands-on workshops, mentorship with industry experts, 1-on-1 with industry mentors, 400+ hours of learning and job assistance with top firms.