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.…
Author
Updated
4/21/2017Released
9/12/2016The 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
Duration
Views
Q. Thise course was updated 04/21/2017. What changed?
A. Videos were added to cover features in Tableau 10.2.
Related Courses
-
Creating Interactive Dashboards in Tableau (2015)
with Nate Makdad1h 37m Intermediate
-
Introduction
-
Welcome1m 19s
-
Exercise files42s
-
-
1. Green and Blue Pills
-
Discrete versus continuous3m 35s
-
Rows and columns2m 57s
-
Filters1m 50s
-
Colors3m 37s
-
Dates3m 5s
-
Pills: Challenge38s
-
Pills: Solution1m 30s
-
-
2. Connect and Extract Data
-
Connect to data2m 44s
-
How to create a data extract3m 35s
-
Filter extract3m 34s
-
Extract: Solution1m 28s
-
-
3. Transform Data
-
Clean and prep your data2m 49s
-
Split fields3m 16s
-
Pivoting the data3m 28s
-
Merge data using unions2m 32s
-
Cross database joins2m 46s
-
Join transformations3m 25s
-
Join: Challenge42s
-
Join: Solution2m 33s
-
-
4. Analytics
-
Colors to highlight data4m 7s
-
Visual highlighter1m 52s
-
The Analytics pane3m 47s
-
Cross-database filtering1m 53s
-
Analytics: Solution1m 11s
-
-
5. Map Your Data
-
When to map your data4m 1s
-
Create new maps using MapBox2m 38s
-
Create custom territories2m 31s
-
Mapping: Solution1m 12s
-
-
6. Parameters
-
Top N analysis1m 43s
-
Parameters: Solution1m 49s
-
7. Dashboard Design
-
Dashboard layout tips3m 15s
-
Layout containers3m 9s
-
Filter actions3m 19s
-
Highlight actions2m 5s
-
URL actions2m 22s
-
Formats2m 3s
-
Tooltips2m 32s
-
Device-specific dashboards1m 43s
-
Dashboard: Solution3m 27s
-
-
8. Useful Calculations
-
Convert strings to dates1m 49s
-
Calculate time durations2m 30s
-
-
9. Tableau 10.2 Updates
-
Conclusion
-
Next steps34s
-
- 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: Convert strings to dates