How to Create Bins on a Histogram in Tableau Ben Young // November 17, 2017 BINS DATA HISTOGRAM TABLEAU (Note: This post is an expanded version of an article I originally posted on the Tableau Community Forums prior to joining InterWorks.) Tableau has the awesome capability to build bins and instantly create histograms, but it comes with a couple limitations. First, bins are not available for use in calculations. It turns out, Tableau has a specific data type for bins called numerical bins. These bins throw fun errors when you try to use them in a calculation, such as the error below: Second, and more frustrating, you cannot group the bins. In many other visualizations (scatter plots, bar charts, etc.), grouping elements is as easy as selecting the marks you want to group and selecting the Group option. When selecting bins on a histogram, you can create sets but not groups. The lack of functionality often surprises clients. An Alternative Wa...
Comments
Post a Comment