top of page
Search

What is a Parameter in Tableau


A parameter is simply a user input into Tableau to make a change to something in the view. In Tableau you can choose float data types integer data type string Boolean date date time and there's a couple other adjustments that you can make just to show you what a parameter is. If I wanted to only show sales above a certain amount I could create a calculated field and reference my new parameter gray calculated field by clicking the drop down 100 data pane create calculated field. I can then drag sales from The View into my calculator field if sales is greater than or equal to my integer value. Two use cases for parameters in tableau. String parameters & Integer Parameters.


What is a parameter in tableau I’m going to take the next five ten minutes to give you some examples of what parameters are in Tableau and what they can be used for let’s go take a look in Tableau desktop

Now that we’re in Tableau desktop let’s take a look at parameters how to create them and what they are I’m gonna open a new sheet here for a blank canvas

The drop down here to create a parameter click the drop down in the data Pane and create new parameter will give you kind of a blank slate I have a couple options here I can choose float data types integer data type string Boolean date date time and there’s a couple other adjustments that you can make just to show you what a parameter is I’m going to start with an integer the current value is going to be 1. I’m just going to call it integer value

Click ok

And you’ll see that my new parameter called integer value shows up on the parameters pane I’m just going to click the drop down on that integer value parameter and click show parameter and it’s very simplest a parameter is simply a user input into Tableau to make a change to Something in the view I can now change this this integer value from 1 to 2 or 22 or 25 um nothing happens parameters in Tableau don’t do anything and until you connect them via a calculated field I’m going to start with we’re going to do two examples one example with a string parameter and one example with an integer parameter the integer value is already there so let’s start with that I’m going to grab a field here and grab sales

I’m going to drag it onto rows

Measures always aggregate when you the direct drug into the canvas so I’m going to change it fro