To switch data between the Rows and Columns panels, hover over the pivot, click on the Properties button and navigate to Switch Axes.