Bin are a user-defined grouping of numerical data in the data source.
According to the official Tableau documentation: It's sometimes useful to convert a continuous
measure (or a numeric dimension) into bins.
Have a look at the following image. When we right click a measure, we get the following options:
https://kxbjsyuhceggsyvxdkof.supabase.co/storage/v1/object/public/file-images/Tableau_TDS-C01/page_3_img_1.jpg
However, for a dimension (this is because the DATA TYPE of this dimension is a string:
https://kxbjsyuhceggsyvxdkof.supabase.co/storage/v1/object/public/file-images/Tableau_TDS-C01/page_4_img_1.jpg
But what if we have a dimension of type NUMBER (NUMERIC DIMENSION)? See below:
https://kxbjsyuhceggsyvxdkof.supabase.co/storage/v1/object/public/file-images/Tableau_TDS-C01/page_5_img_1.jpg
We can clearly create bins from dimensions too - they just have to be numeric :)
For more information, please refer to : https://help.tableau.com/current/pro/desktop/enus/calculations_bins.htm