You can configure the Pivot Table to allow end users to change the layout.
On the Table Layout tab of the Pivot Table edit view, to allow end users to change the layout, check the Enable Pivot Table configuration by end users checkbox.