Select Analysis in Tableau, then click Create Calculated Field. Enter a name for the computed field and formula in the Calculation Editor that appears. When you’re done, click OK.