Hi Prashant Gandhi,
Your calculation seems correct to be, not 100% sure as I don't have your workbook.
I think you used " instead of ', but I'm sure it's ok onto Tableau.
Have you tried updating Tableau to the latest version?
Lénaïc RIÉDINGER, Global Community Engineer Tableau
If you see an Helpful or Correct response, please mark it thanks to the buttons below the targeted post!