Tag Archives: blending

Why is COUNTD(Customer Name) red?

Last week I’d promised to explain why the solution for identifying whether All items in a Tableau Quick Filter were selected wouldn’t work under certain circumstances in Tableau version 8, here it is, and along the way I’ll explain why COUNTD(Customer Name) could be red and the “Cannot blend the secondary data source because one or more fields use an unsupported aggregation.” warning message.

Continue reading

Identifying (and Using) Quick Filter Selection Status

This post on the Tableau forums led me to figure out a new trick with Quick Filters. The goal is to know whether a Quick Filter has (All) Customers selected or some subset of Customers, then return a different measure based on that flag. Just to make it a little more fun, we want this calculation to work when there are other filters present, or not, to look something like the following view based on the Superstore Sales data:

Screen Shot 2013-05-30 at 11.36.17 PM

Continue reading

Version 8 Blending: Version 7 Blending Under the Hood [UPDATED]

An update: Looks like this one is a bug… Tableau guru-to-the-gurus Joe Mako noted in the comments below that this behavior doesn’t occur for strings or numbers. I’d thought I’d seen this with other data types, but I was wrong. I’ve submitted this to Tableau tech support and updated the post, I’ll do another update when I hear back from Tableau.

I’ve got at least a couple more posts in the queue about various features of Tableau version 8 blending. Here’s how to run into one undocumented feature:

  • Date dimension(s) in the primary and secondary have the same name, or a defined relationship(s) in the Relationships window.
  • The date dimension(s) from the primary is/are in the view.
  • The data will blend using those date dimension(s), regardless of whether the link icon is on or off.

Click for a demonstration!

Tableau Data Blending, Sparse Data, Multiple Levels of Granularity, and Improvements in Version 8

Tableau’s data blending feature is great for mashing up data sets from a whole variety of data sources. Want do download local weather data from Weather Underground to see how precipitation affects your coffee sales in Seattle? Sure!

However, blending can be a little tricky to set up to get the appropriate level of detail in the view, especially when you need to blend at one level of granularity and aggregate at another. In this post, I’ll walk you through a technique for doing this in v7, and how version 8 makes this process easier, using an example drawn from my own work that adds a level of complexity because the data is sparse. This makes a great case study for how to integrate different features of Tableau to create the desired view.

Continue reading

Blending Secondary Data into Primary Without Linking Data In Primary

Tableau is a Swiss army knife for data visualization, with a bunch of component tools – the view types, calculated fields, table calculations, custom SQL, mapping, performance optimization, etc. As I’ve been learning Tableau I’ve been mastering new bits. Lately I’ve been exploring Tableau’s Show Missing Values feature, otherwise known as “date padding” or sometimes “domain padding”, and made an interesting discovery. Continue reading