To switch the data items
that are assigned to two roles, drag and drop one data item onto another
data item either by using the buttons in the visualization or by using
the fields on the
Roles tab.
For example, you can
switch the axes of a scatter plot by dragging the measure on the X
axis to the measure on the Y axis.