The easiest way to create a table calculation is to start with the Quick Table Calculations options.
Every pill representing a measure (including a count or distinct counts of dimensions), whether discrete or continuous, holds the Quick Table Calculation option in its own menu:

Using one of the options presented here will replace the current aggregation with a table calculation, and the pill will then include a Δ sign to signify that the calculation is now a table calculation. Let's go through the different options available.