replace([your field], '0','')
And just in case you have any other zeros in you numbers you can use RegEx
which will only strip the leading zeros.
Hi Leandro Jora
For this kind of formatting, now Tableau has launched Tableau Prep. No need to use any function and all. Just install tableau Prep and it'll help you to clean data at high level.
Have a great day!!