Part 2: Power Query Unpivot Cross Tab Table with 2 Column Variables. An Easier Way! EMT 1916 Part 02 @excelisfun
Part 2: Power Query Unpivot Cross Tab Table with 2 Column Variables. An Easier Way! EMT 1916 Part 02  @excelisfun
Uploaded November 2025 | Updated November 2026, 2 days ago
Download Excel File: excelisfun.net/files/EMT1916Part02.xlsx
Buy excelisfun’s Power Query M Code book: mrexcel.com/products/the-transformative-magic-of-power-query-m-code-in-excel-and-power-bi
Buy excelisfun’s other Excel Books: amazon.com/stores/Mike-excelisfun-Girvin/author/B009Q5T4P2?ref=ap_rdr&ccs_id=6f8ce877-462f-447e-b825-7ede1f72a9d3
Free Excel Class from excelisfun: youtube.com/playlist?list=PLrRPvpgDmw0k7ocn_EnBaSJ6RwLDOZdfo
Learn how to convert bad data (cross tabulated table with two column variables and one row variable) into a proper data set for easier analysis using Power Query. This solution comes from our Online Excel Teammate at YouTube: Roger Stocker. Thanks : ) Go Team!!!
Topics:
1. (00:00) Introduction.
2. (00:05) Fundamental problem of a Cross Tab Table.
3. (00:39) Amazing Online Excel Team!! Roger and Geert help our Team!!!!
4. (01:16) New Power Query book by Mike excelisfun Girvin
5. (01:37) Convert worksheet cross tabulated table into an Excel Table BEFORE bringing into the Power Query Editor.
6. (01:51) Use keyboard to convert data to an Excel Table.
7. (02:16) Use keyboard shortcut to bring Excel Table into the Power Query Editor.
8. (02:49) Name Query.
9. (03:14) Transpose table for first time.
10. (03:28) Rename Steps in Query to make M Code easier to read.
11. (04:21) Promote Headers
12. (04:47) Rename Columns
13. (05:07) Unpivot from Cargo Type and Year Columns, then rename two new columns: Year and Volume.
14. (05:45) Investigate Volume column to see that there are numbers that represent volumes and text entries to indicate a cyber attack in the same column.
15. (06:20) Reference base query and create new query named Cyber Attack Records.
16. (06:45) Filter to show Cyber Attack Records.
17. (07:08) Add Data Types
18. (07:18) Duplicate Cyber Attack Records query and create new query to get a table with the Cargo Records, including editing the existing filtering and changing the comparative operator “equals to” to “not equal to”.
19. (08:10) Change Data Type for Volume Column.
20. (08:33) Load base query as a connection only and the two proper table queries as new queries on new worksheets.
21. (09:18) Summary
22. (09:24) Closing


#excel #microsoft #excelisfun #excelcourse #mikegirvin #excel365 #powerquery #mcode #powerbi #datacleaning #dataanalysis #exceldataanalysis #powerbidataanalysis #unpivot #baddata #splitcolumns #mergecolumns #transposematrix

This video has subtitles or audio translations in these languages: Afrikaans, Amharic, Arabic (experimental), Bangla (experimental), Bosnian, Cantonese, Chinese, Croatian, Czech, Danish, Dutch, Dutch (Netherlands), Estonian, Fijian, Filipino, French (France), German, German (Germany), Hebrew (experimental), Hindi, Hungarian, Indonesian, Irish, Italian, Japanese, Khmer, Korean (experimental), Lao, Latvian, Lithuanian, Macedonian, Malagasy, Malay, Malayalam, Mongolian, Nepali, Norwegian, Pashto, Persian, Polish, Portuguese, Portuguese (Brazil), Punjabi (experimental), Romanian, Russian (experimental), Scottish Gaelic, Serbian, Sicilian, Slovak, Slovenian, Somali, Spanish, Spanish (United States), Swahili, Tajik, Tamil (experimental), Tatar, Telugu (experimental), Thai, Tibetan, Turkish, Turkmen, Ukrainian, Urdu, Vietnamese, Welsh, Western Frisian, Zulu. Click gear icon below video to set subtitles, audio and language.
Part 2: Power Query Unpivot Cross Tab Table with 2 Column Variables. An Easier Way! EMT 1916 Part 02Power Query #12: Import Multiple Excel Sheets or Tables From Multiple Excel FilesExtend Excel Date Format To Other Dates: Fill Formatting Only Trick! Excel Short 80Excel Text To Columns Feature to Split a Column of Text Values. Excel Magic Trick 1905Select All Cells With Excel Formulas! Go To F5 Key.  #Short Excel Magic Trick 18PQ #3: Full Free Lesson in Power BI Desktop: Power Query, M, Data Model, DAX Formulas, VisualizingWorld’s Greatest Excel Keyboard Short Cut? It’s a Tie Between Two!!! #Short Excel Magic Trick 32Excel Spilled Equal Principal Payment Amortization Table . #Short Excel Trick 41. ACCTG 455.FILTER & XLOOKUP to Match One Column, Get All TRUEs in Column & Return All Row Headers. EMT 1874LET & BYCOL Functions to Spill Column Aggregate calculations Vertically. #Short 66Build Power Query Custom Function: Convert Multiple Csv Cross Tab Tables into Single Table EMT 1917.Excelisfuns Mom
excelisfun |

Part 2: Power Query Unpivot Cross Tab Table with 2 Column Variables. An Easier Way! EMT 1916 Part 02

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER