VOOZH about

URL: https://www.geeksforgeeks.org/tableau/tableau-bins/

โ‡ฑ Tableau Bins - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tableau Bins

Last Updated : 10 Sep, 2025

Bins in Tableau are containers of equal size that group data values into intervals. They are often used with numeric measures to create histograms or distributions, allowing analysts to understand better how data points are spread across ranges.

For example, if we have sales values ranging from 0 to 10,000, we can create bins of size 1,000. This will categorize sales into intervals like 0โ€“999, 1,000โ€“1,999 and so on.

Use of Bins in Tableau

  • To create distributions of continuous numeric data.
  • To convert measures into discrete groups (intervals).
  • To enable histogram visualizations.

Creating Bins in Tableau

To create bins in tableau follow the given instructions

  1. Open Tableau and connect to our dataset.
  2. Drag a sheet from the connected dataset.
  3. Open a worksheet (e.g., Sheet1).
  4. On the left panel, weโ€™ll see all dataset attributes.
  5. Right-click a numeric field (measure).
  6. Select Create โ†’ Bins.
  7. Modify the suggested bin size (optional).
  8. Click OK.
๐Ÿ‘ Image

Now, a new field representing the bin is created and can be used in the view.

Example 1: Quick Bin Creation via Histogram

  • Drag a numeric field (e.g., Sales) into Rows.
  • Go to Show Me and select Histogram.
  • Tableau automatically creates a bin field for that measure and displays the frequency distribution.
๐Ÿ‘ Image

This is the fastest way to generate bins.

Example 2: Using Bins for Further Analysis

Once a bin is created, we can use it like any other field:

  • Drag the bin field into Columns or Rows to see grouped data.
  • Combine bins with measures (e.g., Profit, Quantity) to analyze patterns across ranges.
  • Apply color, labels or filters to highlight insights.
๐Ÿ‘ Image

Deleting a Bin

If we no longer need a bin:

  • Right-click the bin field.
  • Select Delete.
๐Ÿ‘ Image

This removes the bin without affecting our original dataset.

Comment
Article Tags:
Article Tags:

Explore