How to use a table inverse perspective dimensionality reduction and data split excel in?

      In Excel, in order to analyze the data, we often put data into a format that we want, or finishing some data excel non-standard format, thereby enhancing efficiency. For the following two tables, if you want to put a table into a table ① ②, respectively, the how does it work?

                                                                                              Figure I

                                                                                                   Figure II

       For the first sub FIG, if you want a two-dimensional table into a one-dimensional data table, many people will think of using Multiple consolidation function PivotTable, but there is a more simple approach: Unpivot column. And the second web of FIG inverse perspective batch split data column may be easily resolved, and the PivotTable is difficult to solve. Here achieve the effect of the above table, to tell you about methods of operation.

Case number one

Steps: Select the Data tab - choose Select All data sources - - from the table after opening powerquery editor Right-click the first column header row - select Unpivot another column - click on the upper right corner to close and uploaded, according to final their demand for the title line and other processing on it.

Dynamic presentation:

Case II

Procedure: Select Data tab - Select Data Source Select - - powerquery open from the table editor as headers before the first line of point - to select a name - Split column - press Separator - - after opening the dialog box select a delimiter comma, click OK - right-click the first column header row - select Unpivot another column - delete an attribute middle - top right, click Close and upload, and finally processed according to their needs on it.

Dynamic presentation:

And the use of powerquery made out of form will fluctuate with changes in raw form, such as Lu Xun I add a data source, refresh in the new table came out.

This is the inverse perspective powerquery column function is not very fast hardware.
 

Published 39 original articles · won praise 8 · views 9168

Guess you like

Origin blog.csdn.net/cxd3341/article/details/104910335