Presumably it is automatically generating a GETPIVOTDATA() formula for you when you select the cell whilst creating your formula. You can disable this by selecting any cell in the pivot table > Options tab on the ribon > click on the Options dropdown on the left hand side > untick "Generate GetPivotData".
If that's not the solution you're looking for then please provide more information about the 'names' that are getting shown.