I don't think there is any direct formal way to do it.
Although I have see a blog (below)
Please note that it is not supported by Tableau
All the best!
Hi Ritesh - Thank you for your response and sharing what is available. But, I understand that it seems that there's no official way to do that in Tableau for now.