Tableau is very
smart software, it automatically detect and assign datatype to Variables while
making connection with data source.
However, it also
provide facility to Change datatype of variable, sometime we need data to be in
a particular datatype so here are some stages in which we change datatype of
existing variable-
From Datasource Page
First option to
change the datatype of a variable is from Datasource Pane, Click on Datatype
icon of a variable in data source pane and choose datatype from dropdown list,
this is how we can change the datatype from datasource pane. See below
screenshot-
From Data Pane
After Connection,
when data is already loaded in tableau, also from data pane we can change the
datatype, Cick on Datatype icon of a variable in data pane on worksheet and
choose datatype from dropdown list. See below screenshot-
From Data View
Also From dataview
of a worksheet right click on any variable and choose option change datatype to
change the datatype of a variable see below screenshot -
Related Posts:
- Component of Tableau Desktop
- Connect to a Data Source in Tableau
- Difference Between Live Connection and Extract Data
- Types of Variable in Tableau - Datatypes
- Dimensions & Measures in Tableau
- Creating First Visualization in Tableau
- Types of Chart available in Show Me Pane - Tableau
- Learn Creating Sets in Tableau