Working in Tableau, you may want to group individual numbers in some way–for example, group years by decade. You can do this using a calculated field with this formula:
[Year] - ([Year] % 10)
What this formula does is use a modulo operator (%) to find the remainder based on division by the number following the modulo%. This will group your numbers based on the number you specify.