How to handle date fields that are not a recognised format and convert them into dates
- [Instructor] In this example, we've connected…to the GlobalVehicleSales Excel sheet,…which you can find in exercise folder.…We take a look at the data.…We see that we have the countries, the year,…and amount of sales.…However, when we import this into Tableau,…Tableau recognizes it not as a date but as a string.…We can see that because we have the blue Abc…next to the year.…We'd like to use this as an actual date field.…Look what happens if we just change the data type.…We change it to Date.…
Now we'll put Year onto our row.…Tableau's now given us a null value.…Tableau doesn't know how to convert that string into a year.…To do that, we need to use a calculated field.…Let's remove that from our row and change it back…to be a string.…When I do Create, Calculated Field,…and we're gonna use the DATEPARSE function.…The DATEPARSE function will take a string and a format…and convert it into a date that Tableau can then use.…
We'll give our calculation a name,…and we'll do DATEPARSE.…I need to give it the format.…The format for this example is year, year, year.…
The training starts with one of the most important features in Tableau: the difference between the green and blue pills (discrete and continuous data) and how this affects every single action Tableau performs. Then find out how to add new maps and create more effective dashboards that maximize screen real estate. Discover how actions can link together sheets and provide greater levels of interactivity and performance, and how formatting can make an ordinary dashboard demand attention. Plus, get some bonus tips on performing date and time calculations in Tableau. This course deep-dives into the practical, applicable, and essential skills that anyone doing data visualization and analytics in a professional setting needs to have.
- Green vs. blue pills
- Using filters, colors, and dates
- Connecting to data
- Extracting data
- Cleaning and prepping data
- Pivoting data
- Merging and joining data
- Highlighting data
- Using the Analytics pane
- Creating new maps
- Creating calculations based on parameters
- Designing dashboards
Skill Level Intermediate
Q. Thise course was updated 04/21/2017. What changed?
A. Videos were added to cover features in Tableau 10.2.
1. Green and Blue Pills
2. Connect and Extract Data
3. Transform Data
5. Map Your Data
7. Dashboard Design
8. Useful Calculations
9. Tableau 10.2 Updates
- 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.Cancel
Take 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.