Showing posts with label tricks. Show all posts
October 24, 2018
Tableau Speed Charting: 50 Charts in 50 Minutes
Yesterday at TC18, I had the pleasure presenting with Jeff Shaffer for the fourth year in a row. Three years ago we presented about Dear Data Two, the past two years we had a tips battle, and this year we decided to switch it up and see how many charts we could build in 50 minutes.
We think we made it through about 70 charts, some of those by Jeff were incredible and had never seen before. The recording will be released by Tableau a couple weeks after the conference ends.
Click on the image below (or here) to download the workbook with all of my charts.
We think we made it through about 70 charts, some of those by Jeff were incredible and had never seen before. The recording will be released by Tableau a couple weeks after the conference ends.
Click on the image below (or here) to download the workbook with all of my charts.
October 17, 2018
Tableau Tip Tuesday: 82 Charts in 80 Minutes
charts
,
Data School
,
Information Lab
,
Let's Talk Data
,
meetup
,
tips
,
tricks
,
webinar
No comments
If you're not a part of The Information Lab's new Meetup group Let's Talk Data, then you're missing out on some great opportunities for FREE learning. Join the group to get all of the latest information. We host many events at the new home of The Data School in London and webinars anyone can join from anywhere in the World.
Monday, I ran a free Tableau Zen Master Tips & Tricks webinar. I changed it from the previous webinars I ran last year; this time I focused on charts. I wanted to see how long it would take me to build 82 charts. It took a little under 80 minutes. This was a rehearsal of sorts for the Tableau Speed Charting session Jeff Shaffer and I are running at TC18.
Click on the image below to access the workbook with all of the chart types. I've also embedded the video from the session in the "Video" tab. Enjoy!
Monday, I ran a free Tableau Zen Master Tips & Tricks webinar. I changed it from the previous webinars I ran last year; this time I focused on charts. I wanted to see how long it would take me to build 82 charts. It took a little under 80 minutes. This was a rehearsal of sorts for the Tableau Speed Charting session Jeff Shaffer and I are running at TC18.
Click on the image below to access the workbook with all of the chart types. I've also embedded the video from the session in the "Video" tab. Enjoy!
November 1, 2017
Tableau Tip Tuesday - The Information Lab Zen Master Webinar Series - Part 3
Hopefully you've enjoyed the series. I'd love to hear your feedback on how useful the video are and things I could do differently. Enjoy!
October 17, 2017
Tableau Tip Tuesday - The Information Lab Zen Master Webinar Series - Part 1
You can register for my next two tips webinars here:
This morning I went through the first 23 tips. I recon I have another two hours of content, so look for webinars over the next two weeks at 2pm UK time. Register here.
Below is a workbook with all of the tips I shared today and the recording...enjoy!
November 29, 2016
86 Tips in 45 Minutes | Our Presentation from DATA16
Austin
,
data+science
,
data16
,
Jeffrey Schaffer
,
Tableau Conference
,
Tableau Tip Tuesday
,
tips
,
tricks
1 comment
Tableau Tip Tuesday is normally reserved for a single tip, but this week I'm happy to present to you 86 tips! That's right...86! Embedded below is the presentation from the Data16 session I did with Jeff Shaffer.
Our goal going into the session was to see if we could get to 50 tips in 50 minutes. Right before we started, we decided to let our wonderful judges and the audience count the tips. Why? Because Jeff and I have been using Tableau for a long time and sometimes we do things that come second nature to us that others didn't know.
This was BY FAR the most fun presentation I've ever given or been a part of. Thanks Jeff for being a great partner!!
If you'd like to follow along, you can download the workbook of my tips here.
My advice, pause the video along the way and try to reproduce the things I do using the starter workbook. Have fun!
Our goal going into the session was to see if we could get to 50 tips in 50 minutes. Right before we started, we decided to let our wonderful judges and the audience count the tips. Why? Because Jeff and I have been using Tableau for a long time and sometimes we do things that come second nature to us that others didn't know.
This was BY FAR the most fun presentation I've ever given or been a part of. Thanks Jeff for being a great partner!!
If you'd like to follow along, you can download the workbook of my tips here.
My advice, pause the video along the way and try to reproduce the things I do using the starter workbook. Have fun!
June 15, 2016
Watch Me Viz - 30 Minutes of Tips & Tricks in Tableau from #Data16 London
Today at Tableau on Tour London, I had the opportunity to share as many tips and tricks as I could in 30 minutes over lunch. For me, it’s super fun to share what I’ve learned from others, so thank you for the opportunity.
You can download the workbook here (requires Tableau 10). Below is the session recording. Enjoy!
May 18, 2016
The Data School Gym - Marimekko Alternative
Former Data Schooler Nicco Cirone posted a challenge to the team at The Information Lab Monday to create this alternative to a Marimekko chart.
| Click the image for a larger version |
Nicco got the idea from this post by Jon Peltier about the problems with Marimekko charts. Give it a shot. It’s a bit tricky and one you will surely learn something from. There are several very subtle tricks in here. Try to match mine pixel for pixel.
If you want to use the same version of Superstore Sales that I used, you can download it here. If you think you have it and want to check to see if you got it right, you can view the final solution on my Tableau Public profile here.
Good luck!
November 10, 2015
Tableau Tip Tuesday: Background Images, Customizing Object Locations & Images Inside Donuts
annotations
,
background image
,
donut chart
,
shapes
,
Tableau Tip Tuesday
,
tips
,
tricks
6 comments
This week’s tip is quite a bit longer than normal, but that’s because I had several things I wanted to cover. Essentially, I wanted to show you how I built this viz for Dear Data Two.
The video covers:
I hope you enjoy the tips; it was a lot of fun making this viz. Click here to see my write up for the Dear Data Two project.
The video covers:
- How to add a background image
- How to create donut charts with an image in the middle
- How to use point annotations to find the precise locations for placing objects
I hope you enjoy the tips; it was a lot of fun making this viz. Click here to see my write up for the Dear Data Two project.
September 8, 2015
Tableau Tip Tuesday: Sorting Marks on a Map
Hashu Shenkar from the Data School was rehearsing his Alteryx/Tableau demo this morning and showed us a simple map like this:
One of the problems with maps like this is that the sorting defaults to the data source order, which is this case is the zip code.
What I want the map to do is bring the highest and lowest values to the front. When I look at the sort options on the zip code dimension, I can choose Profit in descending order.
Choosing that only bring the positive values for profit to the front.
To get the positive and negative outliers to the front, I need to create a simple calculated field on Profit that returns the absolute value.
Then in the sort for zip code, choose this measure.
And now you can clearly see the outliers for your map.
If you really want to see the outliers to pop, make one small adjustment to the colour scale. Change it to a palette that has white in the middle of the range.
Download the workbook used to create from Tableau Public here.
One of the problems with maps like this is that the sorting defaults to the data source order, which is this case is the zip code.
What I want the map to do is bring the highest and lowest values to the front. When I look at the sort options on the zip code dimension, I can choose Profit in descending order.
Choosing that only bring the positive values for profit to the front.
To get the positive and negative outliers to the front, I need to create a simple calculated field on Profit that returns the absolute value.
Then in the sort for zip code, choose this measure.
And now you can clearly see the outliers for your map.
If you really want to see the outliers to pop, make one small adjustment to the colour scale. Change it to a palette that has white in the middle of the range.
Download the workbook used to create from Tableau Public here.
August 11, 2015
Tableau Tip Tuesday: How to Align Shapes
Last week, for Dear Data Two Week 12, I included a trick for aligning custom shapes. This week's tip is a demo of how that trick works and how you can do it yourself.
July 14, 2015
Tableau Tip Tuesday: Tips & Tricks from the Zen Master Panel at #DATA15
Last week at the Tableau conference in London, I had the pleasure of sitting on a Zen Master panel with Craig Bloodworth and Matt Francis. This was a really fun session in that the audience threw some questions at us and they also picked random tips and tricks from a hat they were passing around. We had to demo these tips/tricks as fast as we could.
I showed them again on Friday during the Data School weekly presentations, but apparently there were actually some people that didn’t watch. So I recorded them again this morning for this week’s blog post. Enjoy!
I showed them again on Friday during the Data School weekly presentations, but apparently there were actually some people that didn’t watch. So I recorded them again this morning for this week’s blog post. Enjoy!
June 25, 2015
Tableau Tip: How to Create DNA Charts
barbell
,
Chris Love
,
connected
,
Data School
,
difference
,
DNA
,
dot plot
,
Information Lab
,
Laszlo Zsom
,
learning
,
lines
,
magnitude
,
tableau
,
teaching
,
tip
,
tricks
,
variance
7 comments
The Data School launched this week and on the consultants' second day, we brought them into an all day training class with the rest of the Information Lab team. One of the courses we taught was advanced visualisations. The reason we run these internal training classes is because we have a core belief in continuous learning.
As part of this exercise, we were building a dot plot and Laszlo Zsom asked how to connect two dots on the same row. I hadn't ever done it before, so I used a Gantt chart to connect them. Then Chris Love suggested using lines.
In this week's tip (two days late as it is), I demonstrate both of these methods. Click on the image below to enjoy the video.
As part of this exercise, we were building a dot plot and Laszlo Zsom asked how to connect two dots on the same row. I hadn't ever done it before, so I used a Gantt chart to connect them. Then Chris Love suggested using lines.
In this week's tip (two days late as it is), I demonstrate both of these methods. Click on the image below to enjoy the video.
June 17, 2015
Tableau Tip Tuesday: Showing an Axis Above a Chart
A very common question and feature request I see on the Tableau Forums is to show the axis above a chart rather than below, as Tableau does by default.
When I was working on solving this, I started by looking at the XML for a workbook and there is a bit of code that controls whether an axis displays. I built a dual-axis chart to see if I could change the display in the code.
In the <style> section, note the value=‘false’ setting. This is what is hiding the axis. I changed only the top axis by setting it to ‘true', but when I opened the workbook again, both axes were displayed. Back to the drawing board I went.
Here are the steps to follow to display the axis above the bar chart and not below (sort of):
Step 1: Create a bar chart.
Step 2: Duplicate the measure that is shown in the chart by right-clicking on the measure in the Measures list and choosing Duplicate.
Step 3: Drag the duplicated measure onto the secondary axis.
You should now have a chart that looks like this:
Step 4: Change the mark type for both measures to Bar.
Step 5: Remove the Measure Names field from the Color shelf. This isn’t required, but you really don’t need to have two colors for the same measure.
Step 6: Right-click on the bottom axis and choose Format. Change the Font to white and set the Ticks to ‘None’. This doesn’t hide the axis (hence the reason I said ’sort of’ above), but it will give the appearance that the axis isn’t there.
Step 7: Double click on each of the axes and remove the titles. This isn’t required, but it makes the axis narrower.
That’s it! While this isn’t a perfect solution, it works. Also, be sure to clean up the tooltips since they will show the measure twice.
You can download the workbook used to create this viz here.
When I was working on solving this, I started by looking at the XML for a workbook and there is a bit of code that controls whether an axis displays. I built a dual-axis chart to see if I could change the display in the code.
In the <style> section, note the value=‘false’ setting. This is what is hiding the axis. I changed only the top axis by setting it to ‘true', but when I opened the workbook again, both axes were displayed. Back to the drawing board I went.
Here are the steps to follow to display the axis above the bar chart and not below (sort of):
Step 1: Create a bar chart.
Step 2: Duplicate the measure that is shown in the chart by right-clicking on the measure in the Measures list and choosing Duplicate.
Step 3: Drag the duplicated measure onto the secondary axis.
You should now have a chart that looks like this:
Step 4: Change the mark type for both measures to Bar.
Step 5: Remove the Measure Names field from the Color shelf. This isn’t required, but you really don’t need to have two colors for the same measure.
Step 6: Right-click on the bottom axis and choose Format. Change the Font to white and set the Ticks to ‘None’. This doesn’t hide the axis (hence the reason I said ’sort of’ above), but it will give the appearance that the axis isn’t there.
Note: The reason that you have to duplicate the measure has to do with how formatting works. If I used the same measure again for the secondary axis (i.e., Sales in this case), then when I format Sales, it applies to both axes. However, when you duplicate the field, Tableau treats it like a totally separate measure with its own formatting.
Step 7: Double click on each of the axes and remove the titles. This isn’t required, but it makes the axis narrower.
That’s it! While this isn’t a perfect solution, it works. Also, be sure to clean up the tooltips since they will show the measure twice.
You can download the workbook used to create this viz here.
May 13, 2015
Tableau Tip Tuesday: How to Create Waterfall Charts
I've missed the last few weeks of #TableauTipTuesday, and technically it's Wednesday in London, but pretend I'm in California and it's Tuesday. This week, I show you how to create waterfall charts in Tableau.
The first example is very basic; I did this intentionally so that the steps would be super easy to follow. The second example is only moderately more complex; it looks at Tableau's SEC financial filings from 2011-2014.
The first example is very basic; I did this intentionally so that the steps would be super easy to follow. The second example is only moderately more complex; it looks at Tableau's SEC financial filings from 2011-2014.
February 4, 2015
Tableau Tip Tuesday: Display the Total on Top of Stacked Bars (without Using the Secondary Axis)
calculated field
,
running total
,
stacked bar chart
,
table calculation
,
tableau
,
tips
,
total
,
tricks
10 comments
I've written previously about adding totals on the top of stacked bars. In that example, I used a secondary axis to add the totals. However, what if you're already using the secondary axis? As an example, consider this view:
To display the total for each year on top of the stacked bars, follow these steps.
Step 1: Change the mark type for the left axis to Gantt.
Step 2: Right-click on the Sales pill and add a Running Total Quick Table Calculation
Step 3: Change the Compute Using to Department. The view should now look like this:
Step 4: Create a calculated field that returns the negative Sales.
Step 5: Add this new calculated field to the Size shelf for the Sales axis.
The viz should now look like a stacked bar chart.
Step 6: Create a calculated field to return the running total of sales, but only return it for the top bar.
Step 7: Drag this new calculated field onto the Label shelf for the Sales axis.
Step 8: Change the Compute Using to Department.
That's it! The view will now look like a stacked bar chart with the total of each year on the top.
Download the Tableau workbook here.

To display the total for each year on top of the stacked bars, follow these steps.
Step 1: Change the mark type for the left axis to Gantt.

Step 2: Right-click on the Sales pill and add a Running Total Quick Table Calculation
Step 3: Change the Compute Using to Department. The view should now look like this:

Step 4: Create a calculated field that returns the negative Sales.

Step 5: Add this new calculated field to the Size shelf for the Sales axis.

The viz should now look like a stacked bar chart.

Step 6: Create a calculated field to return the running total of sales, but only return it for the top bar.

Step 7: Drag this new calculated field onto the Label shelf for the Sales axis.
Step 8: Change the Compute Using to Department.
That's it! The view will now look like a stacked bar chart with the total of each year on the top.

Download the Tableau workbook here.
January 10, 2015
Tableau Tip: One Parameter; Unlimited Number Formats
calculated field
,
Joe Mako
,
labels
,
number format
,
parameter
,
tableau
,
tips
,
tricks
13 comments
As a follow up to yesterday's blog post about "One Metric; Two Number Formats", Tableau Zen Master Joe Mako left a suggestion that I'm going to write about today that utilizes the Labels shelf. This method allows you to have as many different number formats as you desire, whereas my previous post only allowed two (and frankly, its use case it pretty limited).
Step 1: Create a parameter that is a list of metrics.
Step 2: Create a calculated field that returns the value of the metric selected.
Step 1: Create a parameter that is a list of metrics.

Step 2: Create a calculated field that returns the value of the metric selected.

January 9, 2015
Tableau Tip: One Metric; Two Number Formats
Here's the scenario:
- You have four metrics you want a user to be able to choose from.
- Two of them are in number format (Sales & Profit) and two are in percentage format (Discount & Profit Ratio).
- You want the data, when displayed, to accurately reflect the formatting of the metric selected
- You only want to use a single metric.
To start, consider the above scenario by starting with this table:

December 24, 2014
Tableau Tip: How to make KPI donut charts
On his great Evolytics blog, Ryan Sleeper, former Iron Viz Champ and renowned design guru, wrote about how to create donut charts in Tableau. His technique is sound. The concern I have is that he recommends using floating objects on a dashboard to create the hole in the donut.
If you have any experience with floating objects in Tableau, you know the pain of taking lots of time to make a dashboard look perfect in Desktop with floating objects, only to have it get all messed up once you publish it to Server or Public. I rarely recommend using floating objects for just this reason; it's frustrating and can make your work look sloppy. Hopefully Tableau soon fixes this bug that has been around as long as floating objects have existed.
Another reason to avoid floating objects is that there are more objects that have to be drawn on the dashboard, which can potentially have a performance impact.
While I typically hate pie charts, I think that donut charts, used in this specific way, can indeed be effective. As Ryan says in his post:
If you have any experience with floating objects in Tableau, you know the pain of taking lots of time to make a dashboard look perfect in Desktop with floating objects, only to have it get all messed up once you publish it to Server or Public. I rarely recommend using floating objects for just this reason; it's frustrating and can make your work look sloppy. Hopefully Tableau soon fixes this bug that has been around as long as floating objects have existed.
Another reason to avoid floating objects is that there are more objects that have to be drawn on the dashboard, which can potentially have a performance impact.
While I typically hate pie charts, I think that donut charts, used in this specific way, can indeed be effective. As Ryan says in his post:
When used for the specific purpose of showing a metric’s progress to goal, with one “slice” being the current state of the KPI and one “slice” being the remainder to goal, I think a donut chart works well.Here's how I would create a donut chart in Tableau using a single worksheet. The final product looks like this:

December 23, 2014
Video Tip: How to quickly add labels to background images in Tableau
I don't use background images often in Tableau. In fact, I never knew how to REALLY use them until I went to Tableau Trainer Certification with Molly Monsey, trainer extraordinaire at Tableau. With Molly's permission, I am sharing with you the super simple way that she showed us how to add labels to background images in Tableau.
First, here is the video and farther down the page are summarized steps with screenshots.
Step 1: Open the background image in a tool like Snagit to get the dimensions. Write the dimensions down.
Step 2: Create a data source. In this example, I created the outline of the data source in Excel and left the X/Y coordinates blank.
Step 3: Connect to the data source created in step 2 in Tableau.
Step 4: Change the data type for the X & Y fields to Numbers and move them to the measures area.
Step 5: Add the X field to the Columns shelf and the Y field to the Rows shelf.
Step 6: Add the background image by going to Map => Background Image => [Sheet Name]. Choose the image and enter the dimensions that you wrote down in step 1 in the Right and Top boxes respectively.
Step 7 (optional): Fix the axes to the size of the image.
Step 8: Hide the axis headers.
Step 9: Drag the Name field to the Label shelf.
Step 10: Annotate a point with the X/Y coordinates.
Note how this looks after you hit OK. You can now move the end of the arrow around to get the coordinates of any point in the image.
Step 11: Move the end of the arrow around to each place in the image that you want to place a label and enter those X/Y values into the Excel spreadsheet. Save the Excel spreadsheet.
Step 12: Refresh the data source in Tableau and the labels will magically appear above the heads of each person.
Step 13: Remove the annotation.
Step 14: Change the Mark Type to Text and format the text as you see fit. That's it!
You can download the Excel file here and the Tableau workbook here.
First, here is the video and farther down the page are summarized steps with screenshots.
Step 1: Open the background image in a tool like Snagit to get the dimensions. Write the dimensions down.

Step 2: Create a data source. In this example, I created the outline of the data source in Excel and left the X/Y coordinates blank.

Step 3: Connect to the data source created in step 2 in Tableau.
Step 4: Change the data type for the X & Y fields to Numbers and move them to the measures area.
Step 5: Add the X field to the Columns shelf and the Y field to the Rows shelf.

Step 6: Add the background image by going to Map => Background Image => [Sheet Name]. Choose the image and enter the dimensions that you wrote down in step 1 in the Right and Top boxes respectively.

Step 7 (optional): Fix the axes to the size of the image.


Step 8: Hide the axis headers.
Step 9: Drag the Name field to the Label shelf.
Step 10: Annotate a point with the X/Y coordinates.

Note how this looks after you hit OK. You can now move the end of the arrow around to get the coordinates of any point in the image.

Step 11: Move the end of the arrow around to each place in the image that you want to place a label and enter those X/Y values into the Excel spreadsheet. Save the Excel spreadsheet.

Step 12: Refresh the data source in Tableau and the labels will magically appear above the heads of each person.

Step 13: Remove the annotation.
Step 14: Change the Mark Type to Text and format the text as you see fit. That's it!

You can download the Excel file here and the Tableau workbook here.
Subscribe to:
Posts
(
Atom
)




