To change the source of a trace, drag-and-drop the descriptor box of the desired source onto the target descriptor box. You can also drop it on the Source field of the target setup dialog.
To change the source of a measurement, drag-and-drop the descriptor box of the desired source onto the parameter (Px) column of the Measure table. You can do the same to a qualifier (Qx) on the Pass/Fail readout table.