Data Source Page of Tableau Desktop

Information about your data(field names,data types, aggregation, display properties) is called "Metadata".
Metadata can be edited from the data grid.
Change data role: Click on the data role icon and then select the new role type.
Rename a field: Select the dropdown menu on any field, select Rename. Enter the new name and then click outside the field name.