Is there any function I can use to create bins
If you don't want to use bin functionality provided by tableau, you can use if else in calculated field.
For default bin functionality please refer below link
Create Bins from a Continuous Measure - Tableau
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...