One of the new capabilities of tableau nine is that you can create a custom field by adding a formula to one of the shelves in the program window. Doing so doesn't add the calculation as a field, but it is available temporarily In this movie, I will show you how to build a formula and a field at the same time.
- [Narrator] One of the relatively new capabilities in Tableau is to create a custom field by adding a formula to one of the shelves in the program window. In this movie I will show you how to build a formula and a field at the same time using a very quick technique. My sample file is the shelf workbook, and you can find it in the chapter four folder of your exercise files collection. What I want to do is to create a quick calculation that will allow me to add a value to my current sheet, but that won't take up room within the workbook.
To do that I can make sure that all of my data's in place and then go to the marks card, which is here, and double click, so I'm double clicking just on a blank spot within the marks card. When I do an empty editing area opens up and I can define my calculation. I want to base my calculation on the values in two fields, and they are over here, quantity and price. So I will type a left square bracket, and then I'll start typing quantity, and that field name pops up.
I want to calculate total revenue, so I need to multiply quantity by price, so I'll type an asterisk, and then another left square bracket and price. That's the end of my calculation. I'm multiplying quantity by price, and now as the tool tip says I can apply it by pressing control + enter, and clicking away to finish completing the pill. And there you can see that I have created a new calculation, it is the sum of quantity times price.
And if I drag that pill to the data area, then I see my calculation. The total amount spent on adjustable wrenches was $1100, alarm clocks 39.15, and so on. Note; however, that the calculation I just created is not in the measures area. I only have my original quantity and price. In another movie I showed you how to create a calculated field. Rather than create a calculated field which will stay part of your workbook for as long as you have it, creating a quick calculation on the shelf gives you the data that you need but it doesn't add a field to your data collection.
Author
Updated
5/10/2017Released
10/13/2016- Managing data sources and visualizations
- Managing Tableau worksheets and workbooks
- Creating custom calculations and fields
- Analyzing data using statistical tools
- Sorting and filtering Tableau data
- Defining groups and sets
- Creating and pivoting crosstabs
- Formatting Tableau visualizations
- Creating basic charts
- Annotating and formatting charts
- Mapping geographic data
- Creating dashboard and actions
Skill Level Intermediate
Duration
Views
Q. This course was updated 5/10/2017. What topics were part of the update?
A. Topics related to version 10.1 and 10.2 were part of the course update.
Related Courses
-
Creating Interactive Dashboards in Tableau (2015)
with Nate Makdad1h 37m Intermediate -
Tableau 10 for Data Scientists
with Matt Francis2h 24m Intermediate
-
Introduction
-
Welcome59s
-
-
1. Introducing Tableau
-
Downloading Tableau2m 36s
-
Installing Tableau drivers2m 15s
-
Getting help in Tableau2m 2s
-
-
2. Managing Data Sources and Visualizations
-
Connecting to a data source1m 56s
-
Joining related data sources3m 27s
-
Cleaning up source data2m 37s
-
-
3. Managing Tableau Worksheets and Workbooks
-
Saving your changes2m 24s
-
Creating a packaged workbook1m 33s
-
4. Creating Custom Calculations and Fields
-
Creating a calculated field3m 21s
-
Adding a table calculation3m 46s
-
5. Analyzing Data Using Statistical Tools
-
Displaying the Summary Card2m 30s
-
Forecasting future values3m 58s
-
6. Sorting and Filtering Tableau Data
-
Creating a selection filter2m 58s
-
Creating a wildcard filter3m 50s
-
Creating a condition filter2m 53s
-
Creating a top filter2m 46s
-
7. Defining Groups and Sets
-
Defining a group1m 55s
-
Defining a set2m 14s
-
Combining sets3m 31s
-
Editing and deleting sets1m 37s
-
-
8. Creating and Pivoting Crosstabs
-
Creating a crosstab3m 20s
-
Unpivoting a crosstab1m 50s
-
-
9. Formatting Tableau Visualizations
-
Resizing a visualization3m 39s
-
10. Creating Basic Charts
-
Creating pie charts3m 45s
-
Creating scatter plots3m 19s
-
Identifying data clusters3m 54s
-
Creating histograms3m 6s
-
Creating a treemap3m 26s
-
11. Annotating and Formatting Charts
-
Adding a text box to a chart2m 25s
-
-
12. Mapping Geographic Data
-
Creating a basic map4m 24s
-
Setting map options3m 46s
-
Defining custom regions3m 57s
-
13. Creating Dashboards and Actions
-
Creating a dashboard3m 54s
-
Defining a filter action2m 40s
-
Defining a highlight action3m 44s
-
Defining a URL action2m 36s
-
-
14. What's New in Tableau 10.1 and 10.2
-
Export data to CSV files1m 20s
-
Scale maps dynamically1m 34s
-
Conclusion
-
Further resources1m 17s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Creating a calculated field on a shelf