Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Tableau 2019

You're reading from   Learning Tableau 2019 Tools for Business Intelligence, data prep, and visual analytics

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781788839525
Length 504 pages
Edition 3rd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Joshua N. Milligan Joshua N. Milligan
Author Profile Icon Joshua N. Milligan
Joshua N. Milligan
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Tableau Foundations FREE CHAPTER
2. Taking Off with Tableau 3. Working with Data in Tableau 4. Venturing on to Advanced Visualizations 5. Section 2: Leveraging the Full Power of Tableau
6. Starting an Adventure with Calculations 7. Diving Deep with Table Calculations 8. Making Visualizations That Look Great and Work Well 9. Telling a Data Story with Dashboards 10. Digging Deeper - Trends, Clustering, Distributions, and Forecasting 11. Section 3: Data Prep and Structuring
12. Cleaning and Structuring Messy Data 13. Introducing Tableau Prep 14. Section 4: Advanced Techniques and Sharing with Others
15. Advanced Visualizations, Techniques, Tips, and Tricks 16. Sharing Your Data Story 17. Other Books You May Enjoy

Row-level calculations

We might know that the naming convention of the rental unit in the vacation rental data actually gives us the room number and the name of the building. For example, the unit named 207-Beach Breeze is room 207 of the Beach Breeze condo complex.

In the Chapter 04 workbook, create a couple of calculated fields.

Name the first Room with the following code:

SPLIT([Rental Property], "-", 1) 
 

Then, create another calculated field named Building with the following code:

SPLIT([Rental Property], "-", 2) 

Both of these functions use the Split() function, which splits a string into multiple values and keeps one of those values. This function takes three arguments: the string, the delimiter (a character or set of characters that separate values), and the token number (which value to keep from the split, that is, 1st, 2nd, 3rd, and so on.) Using...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image