Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Power Query Custom Function with Parameter to Get and Transform Multiple CSV Files Data - EMT 1919

ExcelIsFun via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to create a custom Power Query function with parameters to import and transform multiple CSV files containing cross-tabulated data into a single, properly structured table. Master the process of building a parameterized custom function that can automatically handle multiple CSV files from a folder, convert cross-tabulated data structures into proper tables, and append them all together. Explore advanced M Code techniques including the From Folder feature, parameter creation, custom function development, two-way M Code lookups, and LET expressions. Discover how to create a sample file for testing, build queries with custom function code, implement the custom function in final queries, and combine multiple tables efficiently. Understand the advantages of using parameters in custom functions for flexibility and scalability, and see how adding new files to a folder automatically updates your data model. Practice editing custom functions and witness the power of parameterization in data transformation workflows through hands-on examples using Seattle Airport data files.

Syllabus

1. 00:00 Introduction.
2. 00:36 excelisfun’s Power Query M Code Book.
3. 00:51 Advantage of using a Parameter in a Custom Function.
4. 01:57 Cross Tab data.
5. 02:23 Files to download.
6. 02:35 Goal of Video.
7. 02:42 From Folder feature.
8. 03:26 Create Sample File with Two Way M Code Lookup.
9. 05:31 Create Parameter.
10. 06:10 Create query with code for Custom Function.
11. 08:01 Create Custom Function.
12. 09:30 Use Custom Function in final query.
13. 10:00 Combine tables.
14. 11:02 Edit Custom Function.
15. 11:56 Power of parameter.
16. 12:24 Add files to folder and see if everything updates.
17. 13:00 Summary
18. 13:06 Closing

Taught by

ExcelIsFun

Reviews

Start your review of Power Query Custom Function with Parameter to Get and Transform Multiple CSV Files Data - EMT 1919

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.