KNOWLEDGE BASE

Incorrect bin Range despite Specifying a Parameter


Published: 13 Jul 2018
Last Modified Date: 23 Aug 2018

Issue

When using the built-in 'right-click a measure > Create > Bin' feature, some other functionality may not be available. For example, a continuous bin on 'Columns' cannot have a reference line added to it.

Environment

Tableau Desktop

Resolution

Instead, create the bin with a calculated field, such as the following:
​FLOOR([Original Field]/[Bin Size Parameter])*[Bin Size Parameter]
 
The above can be used in place of the continuous 'bin' dimension. Add the [Bin Size Parameter] to 'Size' with the fixed setting.
Did this article resolve the issue?