If any numeric variables are selected in a data table when you run the analysis, these variables are automatically entered in the Y Variables field of the Variables tab.
Any variable in the data table with a Frequency or Weight role is automatically entered in the appropriate field of the Roles tab.