Power Query #12: Import Multiple Excel Sheets or Tables From Multiple Excel Files
Download Zipped folder with files: https://excelisfun.net/files/PowerQuery12Files.zipFree 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/
In this video learn how to use the Excel.Workbook M Code function to import Tables, Sheets and Defined Names from Excel files. Also, learn how to create dynamic folder paths in Excel files to avoid On Premises Folder & File Path DataSource.NotFound errors. Learn how the Excel.Workbook function allows you to filter by Kind Object to import just the tables or sheets that you want. Learn about object name conventions that are the most secure method to ensure that you import only the objects that you want. Finally, learn how to avoid the Table.ExpandTableColumn function and instead use the Table.Combine function by extracting attribute from columns and adding those attributes as columns in Custom Columns, while in the process using the let expression to create variables in Mega M Code Formulas.
Topics:
1. (00:00) Introduction
2. (00:27) Description of 4 Examples in Video
3. (02:28) Files and folders to download for this video
4. (03:08) Example 1: Create dynamic folder paths in Excel files to avoid On Premises Folder & File Path DataSource.NotFound errors. Use the worksheet functions CELL and TEXTBEFORE and a Defined Name. Use the M Code Folder.Files function to land a table of files from the folder in order to avoid the Formula.Firewall error.
5. (09:05) Example 2: Reference the dynamic folder path, lookup a single source data Excel file and use the Excel.Workbook function to extract the objects from the Excel file. Learn about the importance of the table that the Excel.Workbook functions returns with the five columns: Name, Data, Item, Kind, and Hidden, including how the Name and Item columns differ. Then use multiple M Code steps to extract the desired Excel Tables, add a Sales Rep column from the attribute column with Table names, and append all desired tables to a single table.
6. (16:34) Example 3: Import multiple Excel files, and filter to get only the correct Excel files from the folder. Then build a Custom Column with the Excel.Workbook function to extract all Excel objects from each of the Excel files and then expand column to append all Excel.Workbook object tables. Then we will transform columns to fix Excel object attribute columns and filter to get just the worksheet data (not Excel Table data) that we need. We will learn about the third and fourth arguments of the Excel.Workbook function, including the second argument to promote headers for worksheet data. We will add data types to the final appended single table from multiple messed up Excel files.
7. (25:05) Example 4: In an Power BI Desktop file we use From Folder and the Excel.Workbook function to import Excel Tables from multiple Excel files. Using the Excel file name and the Excel Table names, we add City and Sales Rep columns to the final appended table. However, in this example we avoid the Table.ExpandTableColumn function and instead use the Table.Combine function by extracting attribute from columns and adding those attributes as columns in Custom Columns, while in the process using the let expression to create variables in two Mega M Code Formulas. With the Custom Columns We condense 11 query steps to just five!
8. (35:49) Summary
9. (36:18) Mike Girvin’s Power Query M Code Book
10. (36:29) Closing
This video has subtitles or audio translations in these 89 languages: Abkhazian, Afrikaans, Akan, Albanian, Armenian, Bangla, Belarusian, Bosnian, Bulgarian, Burmese, Cantonese, Chinese, Croatian, Danish, Dutch, Estonian, Faroese, Fijian, Filipino, Finnish, French, Georgian, German, Hawaiian, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Khmer, Korean, Kurdish, Lao, Latvian, Lithuanian, Luxembourgish, Macedonian, Maithili, Malagasy, Malay, Malayalam, Mongolian, Nepali, Norwegian, Papiamento, Pashto, Persian, Persian (Afghanistan), Persian (Iran), Polish, Portuguese, Romanian, Russian, Samoan, Sanskrit, Scottish Gaelic, Serbian, Serbian (Cyrillic), Serbian (Latin), Sicilian, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Spanish (Latin America), 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.
#excel #excel365 #excelisfun #mikegirvin #freeexcellessons #excelformulas #excelfunctions #PowerQuery #PowerBI #PowerBIDesktop #LearnPowerQuery #freeclass #DataAnalysis #BusinessIntelligence #Microsoft #ExcelWorkbook #Workbook #TableCombine #append #MultipleExcelFiles #importdata #data #datascience #importexceldata
View Power Query Video pdf notes: https://excelisfun.net/files/PowerQuery-12.pdf Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to Power Query #12: Import Multiple Excel Sheets or Tables From Multiple Excel Files
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.