Tableau Prep Flashcards
The _ tab allows you to select the connection to your data, which can be stored in a file (e.g., Excel), on a cloud server (e.g., BigQuery), or a different type of data storage solution.
Tableau Prep
Connections
(Image 1)
How many ways are there to connect to your data?
Tableau Prep
- “Connection” Tab
- “Connect to Data” button
(Image 1)
How can you select the connection to your data?
Tableau Prep
With the Connections tab at the upper left corner
e.g. Connections > To a File > Text File
OR
Select “Connect to Data” at the top of screen (Middle-Left), above “Recent Flows”
(Image 1)
The connection to your data can be stored [in a file/ on a cloud server/both]
Tableau Prep
both
also a different type of data storage solution
(Image 1)
How to edit an existing data flow
Tableau Prep
Select “Open a Flow” (Above “Recent Flows”)
(Image 1)
How to create a new data flow
Tableau Prep
Select “Connect to Data” (Above “Recent Flows”)
(Image 1)
What is an easy way to familiarize yourself with the functionalities available in Tableau Prep Builder?
Tableau Prep
- Open the 2 “Sample Flows” at the bottom of the screen and view how the data flows were set up and manipulate them
- View “Training” and “Resources” on the “Discover” tab
(Image 1)
T/F
After Connecting to the data, you need to update the parameter settings
Tableau Prep
True
After connecting, you click the table on the left side and change the settings as needed
What do the settings in Image 2 do? (first arrow)
Where will the column header and data values start?
Tableau Prep
Column header will be the first row and the data values will start from the second row
How do you make it so that from the excel datasource, the column header will be the first row in Tableau and the data values will start from the second row?
Tableau Prep
- Connect to Data
- Edit Paramater Setting
- In Paramater Setting, Select “Set Header” under the “Field Names & Start Row” Section
T/F
Tableau Prep Builder cannot detect various data types (e.g., dates, numeric values, strings) and relationships between data fields.
Tableau Prep
False
Tableau Prep Builder can detect various data types (e.g., dates, numeric values, strings) and relationships between data fields.
T/F
Tableau Prep is helpful for loading data from multiple data sources that have different data types
Tableau Prep
False
Tableau Prep is helpful for loading data from multiple data sources that have the same data types
Tableau Prep is helpful for loading data from multiple data sources that have the same data types bc ___
Tableau Prep
Tableau Prep Builder detects various data types (e.g., dates, numeric values, strings) and relationships between data fields.
After opening the dataset, the second step is to _
Tableau Prep
clean the dataset
How do you clean a dataset?
Tableau Prep
- click on the + icon next to the dataset in the top workspace
- select “Clean Step”
(Image 3)
Change data types, grouping similar values together, and splitting column values is an example of _ in Tableau Prep
Tableau Prep
Cleaning data
How can you replace the negative values with null values in a column (let’s call it “Founded” column)?
What are the steps?
Image 6 shows what you have & what you want the chart to look like
Tableau Prep
1- Get to “Clean Step”:
- (click + icon next to the dataset in the top workspace
- “Clean Step”) (Image 3)
2- Create a calculated field:
- Select the “…” button in the Founded column
- “Create Calculated Field”
- “Custom Calculation” (Image 4)
- Fill in “Field Name” with “Replace Negative with Nulls” &
- write “IF [Founded] < 0 THEN NULL ELSE [Founded] END”)
- “Save” (Image 5)
T/F
Aggregating data allows you to adjust to the level of detail of your data table
Tableau Prep
True
Aggregating data allows you to _
Tableau Prep
adjust to the level of detail of your data table
T/F
Aggregating data allows you to combine data from multiple tables together that have different levels of detail.
Tableau Prep
False
Aggregating data allows you to combine data from multiple tables together that have the same level of detail.
T/F
Aggregating data allows you to combine data from multiple tables together that have the same level of detail.
Tableau Prep
True
How can you aggregate data in Tableau Prep?
Tableau Prep
1- Add aggregate step to workflow canvas:
- click + icon next to the dataset in the top workspace > “Aggregate” (Image 7) (Results in Image 8)
2- Add the appropriate fields:
- drag and drop any additional fields on the “Additional Fields” panel” (left) onto the “Aggregated Fields” (right) ** Image 9**
- Change to the appropriate aggretation (e.g. change from SUM to AVG)
See Image 10 for result
How can you create a pivot in Tableau Prep?
Tableau Prep
1- Add “Pivot”:
- click + icon next to the dataset in the top workspace > “Pivot” (Image 11)
2- Edit “Pivoted Fields” pane:
- Select appropriate option: Columns to Rows VS Rows to Columns (Image 12)
- Drag & Drop the appropriate fields to “Pivoted Fields” panel
How can you create a join in Tableau Prep?
(Assume that “Table 1” is already in the Flow and “Table 2” is already connected)
Tableau Prep
Create a Join interface:
Way 1: Drag “Table 1” to the right of “Table 2”
* Hover “Table 2” onto the RIGHT of “Table 1”
* drop it in the “Join” popup. (See Image 15 & 16 to see that the table can be original or cleaned)
Way 2 ** Add a Join Step**
1. Click + icon next to the dataset in the top workspace and select “Join”) (Image 3)
2. Hover Table 2 over to the LEFT of the Join step
3. Drop Table 2 into the “Add” popup. (Note that if you hover to the RIGHT/BELOW the Join step (using the Join/Union popups), it will create another Join/Union step. Not what we want. We want to add a Table to Join step we just created in step 1 of Way 2.)
After either Way 1 or 2, edit join type & the join clause
Results: Image 13