Tableau: Customize data source| Fundamentals
Please download the dataset:
Now, You have a data source file with hurricane data. You want to customize and save the data source so you can reuse the customized version to build additional workbooks in Tableau.
Open the starter file in Tableau.
Rename the Lat (deg) and Long (deg) fields to Latitude and Longitude, respectively.
In the Data pane, right-click the Lat (deg) field and select Rename.
Type Latitude and press Enter.
In the Data pane, right-click the Long (deg) field and select Rename.
Type Longitude and press Enter.
Convert the Category field to a dimension and change the default sort order to Descending.
Drag the Category field from the Measures area to the Dimensions area.
Right-click Category, point to Default Properties, and then select Sort.
In the Sort dialog box, select Descending.
Close the dialog box.
Set the geographic role for the Longitude field to Longitude.
In the Data pane, right click Longitude.
Point to Geographic Role and select Longitude.
Save the customized data source and close Tableau.
Open the Data menu and point to the data connection you want to save, Hurricane Data (Hurricane Data), which will have a check mark next to it.
Select Add to Saved Data Sources.
In the Add to Saved Data Sources dialog box, set the file type to Tableau Data Source (*.tds).
Make sure with the saved location and click Save.
Close Tableau Desktop
Reopen Tableau and then open the data source to confirm the changes were saved.
Reopen Tableau.
On the Start page, under Saved Data Sources, click Hurricane to open it.
Verify that the customizations you saved to the .tds file are present, including the renamed fields and the updated geographic role.
Comments
Post a Comment