Skip to main content
AmigoFish

PQ #13: Append Tables with Inconsistent Column Names in Excel & Power BI

From excelisfun · · 13 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

Download Zipped folder with files: https://excelisfun.net/files/PowerQuery13Files.zip Free Power Query YouTube class from Mike excelisfun Girvin: https://www.youtube.com/playlist?list=PLrRPvpgDmw0lHaJfr4mjRcOMEYqKKvKBj Buy Mike Girvins Power Query M Code book: https://www.amazon.com/Transformative-Magic-Power-Query-Excel/dp/1615470832/

When you have multiple tables with inconsistent field names (column names, or header names), an append (combine) does not provide a proper table with records: instead, you get many null values mixed in with record values. This video teaches how to fix this problem. We see how to solve the problem when you have CSV text file tables or when you have proper tables, like an Excel Table.

In this video learn what to do when you append tables and the result yields many null values.

Topics: 1. (00:00) Intro Song 2. (00:11) Introduction 3. (00:24) Review table data with inconsistent field names. 4. (00:55) What happens when you append tables with inconsistent field names? 5. (01:29) Example 1: In an Excel file, we append CSV File table data that has inconsistent field names. Use Csv.Document, Table.Skip and Table.PromoteHeaders functions and the Table Append Operator, Ampersand. Also see the Table.Combine function and the Field Access Operator. In this example we use an Excel Table in the worksheet to store the correct field names. 6. (06:33) Example 2: In a Power BI Desktop file, we append Excel Tables from Multiple Excel Files that has inconsistent field names. Use Excel.Workbook, Table.DemoteHeaders, Table.Skip. Table.Combine functions and the Table Append Operator, Ampersand. In this example we use an M Code Intrinsic table function store the correct field names. 7. (12:28) Summary 8. (12:53) Buy Mike Girvin’s M Code Book 9. (13:02) Closing

This video has subtitles or audio translations in these 105 languages: Abkhazian, Afrikaans, Albanian, Arabic, Armenian, Bangla, Belarusian, Bosnian, Bulgarian, Cantonese, Chinese, Chinese (Hong Kong), Chinese (Singapore), Chinese (Taiwan), Croatian, Czech, Danish, Dutch, Dutch (Netherlands), Estonian, Faroese, Fijian, Filipino, Finnish, French, French (Canada), French (France), Georgian, German, German (Germany), Greek, Hawaiian, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Khmer, Korean, Kurdish, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Maithili, Malagasy, Malay, Malay (Singapore), Malayalam, Mongolian, Nepali, Norwegian, Papiamento, Pashto, Persian, Persian (Afghanistan), Persian (Iran), Polish, Portuguese, Portuguese (Brazil), Punjabi, Romanian, Russian, Samoan, Sanskrit, Scottish Gaelic, Serbian, Serbian (Cyrillic), Serbian (Latin), Sicilian, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Spanish (Latin America), Spanish (Mexico), Spanish (Spain), Spanish (United States), Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tibetan, Tongan, Tsonga, Tswana, Turkish, Turkmen, Ukrainian, Urdu, Uzbek, Vietnamese, Welsh, Western Frisian, Zulu. Click gear icon below video to set subtitles, audio and language.

#excelisfun #MikeGirvin #PowerQuery #Excel #PowerBI #PowerBIDesktop #Excel365 #LearnPowerQuery #freeclass #DataAnalysis #BusinessIntelligence #Microsoft #append #appendtables #inconsistent #fieldnames #columnnames #Field #mcode #error #null #nullerrors #functions #formulas #fromfolder #combine #combinetables

Back to excelisfun · Report a problem