How to: |
Some data files may contain repeating values, such as sales figures for a series of years. When uploading a spreadsheet or delimited file with columns of repeating values, you can preview these columns and transform them into rows.
The Get Data dialog box opens, as shown in the following image.
This opens a preview, as shown in the following image. In this example, we are showing a multi-worksheet Excel file. The previewed worksheet contains columns for each year from 1960 to 2012.
The repeating year columns now display as rows, as shown in the following image.
The column titles are renamed, as shown in the following image.
To revert your pivoting changes, click Remove Pivot.
If the repeating columns have headers that are dates, the fields are recognized as date values when pivoted into rows, so you can report from the table using date functions.
An uploaded data file with selected repeating columns that have date headers is shown in the following image.
From the preview page, you can easily select columns to pivot using the context menu.
The context menu opens, as shown in the following image.
The context menu closes, and the sheet preview refreshes to show the resulting pivot value and key columns.