The Complete Excel Course with AI Integration
Power Query for business analysts
Between a raw extract and a stakeholder's answer sits the same clean-up every time: columns renamed, codes trimmed, dates repaired, lookups matched, files stacked. The Complete Excel Course with AI Integration hands that work to Power Query on SalesFusion, an industry-standard project, and this page picks out its lessons in the order a data task runs: import and profile, clean and type, rules and control totals, merges and appends, a folder of files, and Unpivot.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring a system extract into Power Query from a CSV file and replace the routine of copy and paste with steps recorded once and replayed on every refresh.
- Profile an extract's quality across every row with Column quality, distribution and profile, then clean text, codes and data types where the problems show.
- Write business rules as custom and conditional columns inside the query, so every report built on it applies them the same way.
- Prove an extract against its source with a Group By query of row counts and totals by period and region before anything is reported.
- Map codes to names with a left outer merge, and list the records with no partner in the other table before they reach a reconciliation.
- Point a finished pipeline at another file, append the results, and combine a whole folder of extracts into one table that takes in new files on refresh.
- Unpivot a stakeholder's month-per-column grid into rows, and load each query only where it is needed: a connection, a table or the Data Model.
Projects
What you will build.
The course has 14 industry-standard projects. These two matter most here.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built on deliberately faulty sales CSVs with two lookup files, its Power Query half rehearses the data side of an analysis project: profile, clean, type, apply rules, prove the totals, match codes, stack periods and files and reshape a cross-tab, every step recorded in order and replayed whenever the data is refreshed.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales data, it shows where a clean query's output goes next: PivotTables that group dates by themselves, slicers for each stakeholder's cut, and Refresh All, which brings every query and PivotTable in a workbook up to date with one click.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 17 of them, 1 h 36 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 153 SalesFusion Power Query project
Begin with Lesson 153 once Excel tables and a first PivotTable are behind you: SalesFusion starts there from a folder of faulty CSV files and moves through the data work in the order a project needs it. If tables or PivotTables are unfamiliar, the course covers them earlier, tables from Lesson 19 and PivotTables from Lesson 57; a newcomer to Excel starts at Lesson 1. Analysts who already clean extracts in Power Query can skip ahead to Lesson 161 for control totals, then merges and folders.
17 of 186 lessons · 1 h 36 min
15 SalesFusion: advanced data tools and a Power Query modelling system From extract to trusted table: ETL explained as steps recorded once and replayed, a messy CSV brought in with Transform Data rather than Load, temporary columns removed and headers renamed with every change logged in Applied Steps, codes trimmed and put in upper case, symbols and NA placeholders cleared, true number and date types set, and period fields from year to year-month added so reports group and sort by month. The lessons use sales exports.
- 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
- 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
- 155 Import a CSV with Power Query Get data from text and transform data 2 min
- 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
- 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
- 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
- 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
15 SalesFusion: advanced data tools and a Power Query modelling system Rules and proof inside the query: custom and conditional columns for profit, margin, high-value sales and returns, duplicates removed on the order key, a Group By query of totals and row counts by month and region that exposes any figure too good to be true, and Close and Load choices that keep staging queries as connections.
- 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
- 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
- 162 Close and Load in Power Query Connection only, table or Data Model 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system Joining and stacking sources: product and region details merged onto every row with a left outer join and the other join kinds read through, a pipeline duplicated and pointed at the next year's file, two years appended into one table, a whole folder of files combined with each row naming its source, and one master table built from them and checked for nulls.
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
- 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
- 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
- 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
- 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
- 168 Build a sales fact table in Power Query Merge lookups and append history 6 min
15 SalesFusion: advanced data tools and a Power Query modelling system Unpivot for the cross-tabs stakeholders send: a wide export with a column per month folded into rows of period and amount that survive new month columns, then pivoted by metric and totalled by month.
- 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Which course teaches a business analyst to replace the copy and paste between a raw extract and a stakeholder's answer with a Power Query pipeline?
The Complete Excel Course with AI Integration from Coding Liquids does, through SalesFusion, an industry-standard project whose design grew out of conversations with people across many different industries. You start from the state extracts really arrive in, CSV files with stray spaces, symbols inside number columns, NA placeholders and dates that will not read, and finish with one table that refreshes and can be proved against its source. Along the way come the import (Lesson 155), cleaning and types (Lesson 157 to Lesson 159), business rules and control totals (Lesson 160, Lesson 161), merges, appends and a folder of files (Lesson 163 to Lesson 168) and Unpivot (Lesson 173). That is 17 lessons and 1 hour 36 minutes, with every step recorded so that the next delivery runs through the same pipeline at a refresh.
From discovery to cutover, which stages of a project lean on Power Query?
Every stage that touches data, and The Complete Excel Course with AI Integration teaches the Power Query step for each. Discovery: profile a new extract across all its rows with column quality and distribution, and total it by period with Group By (Lesson 166, Lesson 161). Analysis: clean text, fix types and add period columns once, then replay them (Lesson 157 to Lesson 159), and unpivot any cross-tab a stakeholder sends (Lesson 173). Design: write business rules as custom and conditional columns that a developer can read step by step (Lesson 160). Testing and cutover: merge legacy and target extracts to find what failed to match, and check every merge for nulls (Lesson 163, Lesson 168). After go-live, a folder query takes in each new extract at a refresh (Lesson 166).
Does Power Query have data profiling of its own, and can it show an extract's gaps before I build anything?
Yes: its column profiling can read every row, and The Complete Excel Course with AI Integration switches it on in Lesson 166. By default the profile covers only the first thousand rows; the lesson extends it to the entire data set and turns on Column quality, Column distribution and Column profile from the View tab, so each column shows its share of valid, error and empty values, how many distinct and unique values it holds, and its spread. Lesson 161 adds the totals view: a reference query that groups the data by month and region with a row count and a sum, biggest first, where a figure too good to be true or a blank month from unreadable dates stands out at once. For a business analyst that is a data quality picture of the extract before a single rule is written, and it refreshes with the next delivery.
Can the business rules from my requirements live inside the query, so every report applies them the same way?
Yes, and The Complete Excel Course with AI Integration shows why they belong there. In Lesson 160, the rules of the SalesFusion report become columns of the query: Profit as sales less cost, Margin with a test that returns null when sales are zero or missing, a conditional HighValue label for sales of 500 or more, and IsReturn marking negative amounts as returns, with duplicates then removed on the order key. Because the logic sits in the query, it runs identically on every refresh, and no two reports built on the table can disagree about what counts as high value. For a business analyst each rule is also documentation: a named step in Applied Steps that a developer or a tester can open and read, which makes the query a working prototype of the rule before it is written into a specification.
Can a query count records by period and region so I can tie a migration back to the source system?
Yes, and The Complete Excel Course with AI Integration builds exactly that check in Lesson 161. A reference query, which stays wired to the cleaned data so later changes flow through, groups the rows by year-month and by region and returns a total of sales and a count of rows for each pair, sorted with the largest first. Run the same query over the source extract and over what came back from the target system, and matching counts and totals period by period are the evidence a migration sign-off needs, while a mismatch shows exactly where to look. The lesson's warnings apply too: a region that outsells everything else is usually a typo, and a blank month means dates the source could not read. Lesson 162 then keeps the QA query as a connection, ready to run again after every load.
In a migration, can Power Query show which legacy records have no partner in the target extract?
Yes: a left outer merge followed by a check for nulls, the method The Complete Excel Course with AI Integration teaches in two steps. Lesson 163 merges the sales query with product and region lookups on their codes, and the left outer join keeps every row of the first table while filling the lookup's columns only where a match exists. Lesson 168 adds the habit that turns this into a reconciliation: after each merge, check the key and value columns for nulls before anything is loaded. Put the legacy extract first and the target extract second, and every legacy record whose new columns come back empty has no partner in the new system, listed row by row rather than merely counted. Lesson 164 reads through the other join kinds Power Query offers, inner and full outer among them, while keeping the left outer join for the work.
Is Power Query basically SQL with buttons, for an analyst who already writes queries?
Close enough that your SQL instincts carry straight over, and The Complete Excel Course with AI Integration builds the same ideas from menus. A merge is a join, left outer by default with inner, right outer and full outer in the same list (Lesson 163, Lesson 164); an append stacks rows much like a union, matching columns by their headers (Lesson 165); Group By totals and counts by keys (Lesson 161); filters and removed columns trim rows and fields. The difference is in the record it keeps: each click becomes a named step in Applied Steps, replayed in order at every refresh, and the code underneath is M. SQL itself is not taught; what the course gives a SQL-literate analyst is the same discipline applied to the CSV files and exports that stakeholders actually send.
Will I need to write M code, or can a business analyst do this from the menus?
The menus do nearly all of it, and The Complete Excel Course with AI Integration keeps M to a few short formulas. Importing (Lesson 155), removing and renaming columns, trimming, replacing values, setting types, merging, appending, grouping, combining a folder and unpivoting are all clicks, each recorded as a step you can rename and revisit. M appears only where a custom column needs a rule of your own: a DiscountRate column that divides any discount above 1 by 100 (Lesson 158), a year-month label built with Date.ToText (Lesson 159) and a real date made with Date.FromText (Lesson 173). Each reads much like an Excel formula. Writing whole queries in M is beyond the course; for the extracts a business analyst handles, the menus and these custom columns cover the work.
Each test cycle or region delivers its own extract in the same layout: can one query take them all in?
Yes, in either of two ways, and The Complete Excel Course with AI Integration teaches both. When the files arrive one at a time, Lesson 164 duplicates a finished query and changes only its Source step to the new file, so every cleaning step applies at once, and Lesson 165 appends the results into one table, matching the columns by their headers while the sources stay untouched. When they land in one folder, Lesson 166 combines every file in it, adds a Source.Name column naming the file each row came from, and applies the cleaning set on a sample file to all of them, including files saved later, which join at the next refresh. For a business analyst, each test cycle or regional extract keeps its identity in that column while the analysis runs on the whole set.
Stakeholders keep their trackers as cross-tabs with a column for every month: how do I get them into a shape PivotTables can read?
Unpivot them into a long table, a step The Complete Excel Course with AI Integration teaches in Lesson 173 on a wide export where every month has its own column. With the first row promoted to headers, Unpivot Other Columns holds the region, category and metric columns still and folds the month columns into two, renamed YearMonth and Amount; since the step lists no month by name, next month's new column cannot break it. The month text then becomes a real date through a custom column, Pivot Column gives each metric its own column again, and Group By sums them by month. For a business analyst, a capacity plan, a forecast or a survey matrix that a stakeholder keeps as a cross-tab becomes data that PivotTables and the data model can read, rebuilt at every refresh.
My analysis workbooks grow slower with every extract pasted in: how should queries load their results?
Load only the final table and keep the rest as connections, the rule The Complete Excel Course with AI Integration sets in Lesson 162. Close and Load writes every query to a sheet by default; the lesson opens Queries and Connections, where hovering shows a query's rows and its last refresh, then uses Load To to switch the staging and QA queries to Only Create Connection and deletes the sheets they had filled. A connection-only query stays ready for a PivotTable or the Data Model without a copy of its rows sitting in the grid. Lesson 168 finishes the same way, holding the master table as a connection and dropping a column nobody needs, and Lesson 156 removes unwanted columns first because every later step then has less data to process. A workbook built like this stays lean as more extracts feed it.
When should a calculation live in Power Query, and when in a DAX measure?
Row by row in Power Query, across whatever is selected in DAX, and The Complete Excel Course with AI Integration teaches both sides on the same data. Power Query's custom and conditional columns (Lesson 160) suit values that belong to each row, a profit, a margin, a high-value label, fixed at each refresh and identical in every report. DAX measures (Lesson 170) suit figures that must recalculate for every filter and slicer: total sales, margin percentage, orders counted once with DISTINCTCOUNT, and a share of the total that uses CALCULATE with ALL to reach the grand total. The course's own summary puts it neatly: Power Query makes the data usable, and the data model makes it useful (Lesson 153). The data model and its measures need Excel for Windows, from Lesson 169 on, and sit just past this page's path.
Our BI team builds in Power BI: will the queries I prototype in Excel make sense to them?
Yes: the query editor you learn in Excel is the same tool Power BI uses to prepare data, so the steps carry across. The Complete Excel Course with AI Integration says as much when it explains the ETL workflow: extract into one staging area, transform to one set of rules, then load into Excel or Power BI for reports and dashboards (Lesson 154). For a business analyst that makes Excel a fast place to prototype: shape the extract, write the rules as columns, prove the totals with Group By, and hand the BI team a query whose Applied Steps state every transformation in order. Power BI itself is not taught; the Power Query skills, the data model and the DAX measures of SalesFusion are what the two share, so your prototype becomes a specification the production build can follow.
How long before my own deliveries run through a query, and does a Mac cover these lessons?
About 1 hour 36 minutes, and a Mac running Excel from Microsoft 365 handles every lesson on this page. In The Complete Excel Course with AI Integration, the first extract is imported, cleaned, typed and given period columns by Lesson 159, enough to put a live project's delivery through a query that same week. Business rules and control totals come next, then merges, and by Lesson 166 a folder of files feeds a single table. Windows matters only after this path ends: from Lesson 169, SalesFusion loads the clean table into a Power Pivot data model and measures it with DAX, and the course's requirements name Windows for those lessons, as they do for Power Automate. The CSV practice files and the finished workbook come with the course, so every query you build has a working answer beside it.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Formulas for business analysts
- Lookups for business analysts
- PivotTables for business analysts
- Charts for business analysts
- Dashboards for business analysts
- Conditional formatting for BAs
- Data cleaning for business analysts
- Data validation for business analysts
- Excel tables for business analysts
- Text functions for business analysts
- Date functions for business analysts
- Dynamic arrays for business analysts
- Power Pivot & DAX for business analysts
- Macros and VBA for business analysts
- Power Automate for business analysts
- Copilot for business analysts
- ChatGPT for business analysts
- Claude in Excel for business analysts