The Complete Excel Course with AI Integration

Power Query for business intelligence analysts

A BI model is only as sound as the layer that feeds it: extracts pulled in, cleaned the same way every time, joined to their lookups and proved before anyone reads a figure. The Complete Excel Course with AI Integration builds that layer in Power Query on SalesFusion, an industry-standard project, and this page picks out its lessons in pipeline order: extract, transform, validate, join and append, a folder source, the fact table and Unpivot.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Connect to a CSV extract with Get Data and Transform Data, so the import becomes the first recorded step of a pipeline rather than a one-off paste.
  • Remove unneeded columns first, rename headers without spaces and set true data types, so the data model and DAX read every column correctly.
  • Put codes into one case, strip stray spaces and symbols and replace errors and NA entries, knowing that Power Query, unlike a PivotTable, treats North and NORTH as two values.
  • Build business columns such as profit, margin, a value band and a return flag inside the query, so every report that uses them computes them identically.
  • Validate a load with a reference query that groups by month and region and counts rows, then keep staging queries as connections and load only the final output.
  • Join lookups with a left outer merge, reuse a pipeline for a new year by changing only its source, and append the history into one query.
  • Point Power Query at a folder so each new extract joins at refresh, profile its columns across the entire data set, and build one fact table for the data model.
  • Unpivot a cross-tab export, pivot its metric column back into measures and group the result to a monthly grain.

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 sales exports, its Power Query half is a working ETL layer: raw CSVs and a folder of period files cleaned by recorded steps, lookups joined, a QA query that proves the totals and one fact table held as a connection for the data model, the same layering a BI team keeps for its own sources.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    The course's PivotTable project on order-level sales, and the reason a query should hand over a clean table: a stray space or a second spelling makes one region appear twice in a PivotTable (Lesson 58), new rows reach the pivots only after a refresh (Lesson 65), and Refresh All updates every report in the workbook at once.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

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

Start at Lesson 153 if Excel tables and PivotTables are second nature: SalesFusion runs the way a BI pipeline does, from extract and transform to validation, joins and load. New to PivotTables? Work through Lesson 57 and its section first; if Excel itself is new, Lesson 1 is the place to begin. Already cleaning data in Power Query? Go straight to Lesson 163 for the joins, then the folder source and the fact table.

17 of 186 lessons · 1 h 36 min

15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 13 min The ETL frame and the first extract: the finished SalesFusion report shown as the target, Power Query as the engine that records each step once and replays it, the data model as the map of how tables relate, then a messy sales CSV brought in through Get Data and opened with Transform Data, the choice that builds a pipeline instead of a one-off paste.
  1. 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
  2. 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
  3. 155 Import a CSV with Power Query Get data from text and transform data 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system 4 of 21 lessons · 24 min The transform stage, column by column: temporary columns removed early so every later step handles less data, headers renamed without spaces for DAX, codes trimmed and set in upper case because Power Query is case-sensitive, symbols, NA entries and errors replaced, true data types set, and Year, MonthName, MonthNumber, MonthStart and YearMonth added from a cleaned date.
  1. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  2. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  3. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  4. 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 3 of 21 lessons · 16 min Logic and controls: Profit, Margin, HighValue and IsReturn built as custom and conditional columns so every report computes them the same way, duplicates removed on the keys, a reference query grouping by month and region with a row count to prove the data, and Close and Load with the staging queries kept as connections.
  1. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
  2. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  3. 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 3 of 21 lessons · 14 min Joins and history: product and region lookups merged on their codes with a left outer join, the other join kinds read through, a whole pipeline duplicated and pointed at the next year's file by changing only its source, and the two years appended into a new query that leaves both sources untouched for tracing.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 min
  2. 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
  3. 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 22 min A folder as the source: every file in a folder stacked and cleaned through Transform Sample File, column profiling switched to the entire data set, date, profit and fiscal year columns added, and the final fact table built from the lookups and the history, checked for nulls and held as a connection for the data model.
  1. 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
  2. 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
  3. 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 1 of 21 lessons · 8 min A cross-tab export reshaped for modelling: Unpivot Other Columns turns month columns into rows, a real month-start date is built, the metric column is pivoted back out into Budget Sales and Target Units, and Group By leaves a compact monthly table for the data model.
  1. 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

Is Power Query in Excel enough for a business intelligence analyst's ETL, and where is it taught end to end?

Yes: extract, transform and load all happen inside Excel, and The Complete Excel Course with AI Integration from Coding Liquids teaches the whole chain on SalesFusion, an industry-standard project designed after talking with people from many different industries. You bring raw CSV extracts in through Get Data (Lesson 155), clean and type every column (Lesson 156 to Lesson 159), build business columns and a QA query (Lesson 160, Lesson 161), join lookups and append years (Lesson 163 to Lesson 165), take in a whole folder of extracts (Lesson 166) and finish with one fact table held as a connection for the data model (Lesson 168). The lessons work from files and folders, and the same steps apply whatever the source. This page picks out 17 lessons, 1 hour 36 minutes in all, with the raw dataset and the finished workbook to work from.

Is Power Query basically SQL, and how quickly will a SQL user find their way round it?

Close in spirit, different in form, and a SQL user settles in fast with The Complete Excel Course with AI Integration. The ideas map almost one for one: a merge is a join, and Lesson 164 reads through the join kinds, right outer, full outer, inner and the rest, after Lesson 163 has chosen the left outer join that loses no sales row; an append is a UNION ALL of two queries (Lesson 165); Group By is GROUP BY with sums and row counts (Lesson 161); a column filter is a WHERE. The difference is that you build by clicking, and every click is saved as a named step in Applied Steps, with only short custom columns written in M, such as the discount rule of Lesson 158. SQL itself, and query folding back to a database, sit outside the course; what carries over is your instinct for joins and grain, which every lesson here rewards.

Is it better to shape data in Power Query or to calculate it in DAX?

Each has its side of the line, and The Complete Excel Course with AI Integration teaches both so you can draw it well. Power Query is for anything that belongs to a row and should be settled at load: Lesson 160 builds Profit, Margin, a HighValue band and an IsReturn flag as custom and conditional columns, so every report that uses them computes them identically, and Lesson 167 adds fiscal year columns the same way. DAX is for figures that must respond to whatever a reader filters: in Lesson 170 Total Sales, Margin Percentage and a percent of total built with CALCULATE and ALL recalculate for every slicer click, which no stored column can do. That lesson works in Power Pivot and needs Excel for Windows. The working rule that follows: facts about a single row go in the query, and totals that answer to filters go in DAX.

How does the course prepare a fact table and lookup tables for a data model?

Step by step, the way a star schema is fed, and The Complete Excel Course with AI Integration ends the Power Query work with a model-ready set. The lookups arrive from their own CSV files, typed and given proper headers, and are merged onto the sales rows on ProductID and RegionCode (Lesson 163). Lesson 168 then builds the fact table, Main Sales File: the folder data merged with both lookups and appended to the cleaned history of the earlier years, its Source.Name column dropped, Profit kept as a decimal so nothing rounds away unseen, and the keys and amounts checked for nulls. It is loaded as a connection only, the choice Lesson 162 explains. The next step, relating the fact table to the lookup tables one-to-many in Diagram View (Lesson 169), happens in Power Pivot and needs Excel for Windows.

How should staging, QA and final queries be laid out?

In layers, the way SalesFusion lays them out, and The Complete Excel Course with AI Integration teaches the pattern query by query. The staging query does the cleaning and is renamed so its role is plain (Lesson 161). A QA query references it, groups by YearMonth and RegionCode with a total and a row count, and sorts the biggest totals first, so a figure that looks too good stands out at once. A final query references staging again and receives the lookups by merge (Lesson 163). References stay wired to their source, so a fix made in staging reaches both. Only the finished output goes to the grid; staging and QA stay as connection-only queries, which keeps the workbook light (Lesson 162). When a new year arrives, Lesson 164 duplicates the staging query and changes nothing but its Source step, and the whole pipeline applies itself to the new file.

Can Power Query profile a new source before I build anything on it?

Yes, and The Complete Excel Course with AI Integration makes profiling a habit rather than an afterthought. In Lesson 166 the View tab's Column quality, Column distribution and Column profile are switched on, and profiling is changed from the first thousand rows to the entire data set, so a fault deep in the file counts as much as one at the top. Column quality shows how much of a column is valid, in error or empty; distribution and profile show what it really holds. Earlier lessons add the other checks: a column's filter list exposes quantities written as words (Lesson 158), stepping back through Applied Steps shows each fix at work (Lesson 159), and Lesson 164 warns that a new file brings faults of its own, so the audit runs again. Profile first and build second, and the model inherits far fewer surprises.

Daily extracts land in a shared folder: can the model take them in without me opening each one?

Yes: point Power Query at the folder, and The Complete Excel Course with AI Integration builds exactly that in Lesson 166. From Folder, then Combine and Transform, stacks every file and adds Source.Name, the file each row came from, a lineage column you will be glad of the first time a total looks wrong. The cleaning is written once, in Transform Sample File, and governs every file in the folder, those there now and each one saved later, which joins at the next refresh. Lesson 167 adds the date columns, profit metrics and fiscal year columns to that pipeline and references it as SalesFact. Before the model, Lesson 168 drops Source.Name, because a column nobody reports on still costs memory as a model grows. The extracts need one layout, as files from one system usually share, and after that your only task is saving each file in the folder.

What keeps a Power Query workbook fast as the data grows?

A handful of habits that The Complete Excel Course with AI Integration builds in from the first query. Remove the columns you will not use before anything else, since every later step then handles less data (Lesson 156). Give dates the Date type rather than Date/Time, which drops the time part, saves memory and keeps relationships cleaner (Lesson 159). Load only the final output to the grid and keep staging and QA queries as connections, or the workbook grows slow and bloated (Lesson 162). Drop lineage columns such as Source.Name once they have done their job (Lesson 168). And keep business logic in one place, the query, instead of in thousands of worksheet formulas. Query folding and incremental loading are beyond the course; for workbooks fed by files, these habits are what decide how quickly Refresh All comes back.

Why does Power Query treat North and NORTH as different values when a PivotTable does not?

Because Power Query compares text exactly, capitals included, and The Complete Excel Course with AI Integration makes one case a fixed step of the cleaning. A PivotTable, COUNTIFS or a lookup reads North and NORTH as one region, so worksheet habits can hide the difference; Power Query keeps them apart, and so do its merges, where a code in one case will not match the same code in another. Lesson 157 deals with it head on: RegionCode and ProductID are trimmed and set to UPPERCASE before anything else uses them, and those two codes are exactly the keys the lookups are merged on later (Lesson 163). The same lesson strips hyphens from product codes and clears the clutter from the money columns, so each key has one form. In BI terms: normalise every join key inside the query, and no lookup row fails to match for a reason invisible on screen.

If my team moves its reporting to Power BI, does this Power Query work move with me?

The skills carry over directly, and The Complete Excel Course with AI Integration says as much at the start: Lesson 154 describes the load stage as feeding Excel or Power BI for reports and dashboards. The Power Query Editor, Applied Steps, data types, merges, appends, Group By, From Folder and Unpivot that you practise on SalesFusion are the same engine in both products, so the pipeline thinking moves with you, and so does the M recorded behind each step. What differs is the destination: in Excel the output lands in a table, a connection or the data model, chosen at Close and Load (Lesson 162). Power BI itself is not taught; the course spends that time on doing the whole job inside Excel, from the first extract to a dashboard your stakeholders filter themselves.

Is Power Query an AI tool, or something I still drive myself?

Something you drive, which is its strength in a pipeline: The Complete Excel Course with AI Integration teaches it as a recorder of exact steps. Every transformation you click is written into Applied Steps and replayed unchanged at each refresh (Lesson 156), so the same input always yields the same output, which is what a model needs and what an audit asks for. The AI of the course sits elsewhere and does other work: Copilot tidies a messy sheet with prompts and Excel functions (Lesson 97), and ChatGPT drafts an analysis plan before anything is built (Lesson 100). Both are quick, and both can phrase their answer differently next time. A query never improvises, so the extract that returns every week belongs to Power Query, and the assistants earn their keep on one-off files and first drafts.

A source report arrives as a cross-tab: how does the course get it to the grain of the model?

With Unpivot, a Pivot Column and a Group By, all in Lesson 173, and The Complete Excel Course with AI Integration uses a real wide export to show it. The file holds region codes, categories and a metric column, then one column per month. Unpivot Other Columns, applied with the descriptive columns selected, turns every month column into rows of YearMonth and Amount, so a month added to the export later flows in without a change to the query. Date.FromText then turns YearMonth into MonthStart, a true date on every row. Pivot Column spreads the metric column back out, with Amount summed, into Budget Sales and Target Units, one column per measure. Group By on MonthStart finishes the job: a compact monthly table of budget sales and target units, ready for the data model, at the grain a monthly comparison needs.

How long before I can rebuild one of my own refresh pipelines?

The path runs 1 hour 36 minutes, and a usable pipeline of your own can start well before the end of it. Once Lesson 159 is done, a single extract travels from raw file to typed, clean table with period columns, enough to rebuild the import behind a report you refresh by hand today. The QA query, the load choices, joins, appends and the folder source follow, and by Lesson 168 you hold a fact table fed by a folder, ready for a data model. The Complete Excel Course with AI Integration supplies the SalesFusion dataset of messy CSV files and lookups along with a complete workbook, so each step is checked on known data before you point it at your own. Lifetime access keeps the lessons open for the next source you take on, and the instructor support plan answers a question about your own extract in writing for two months from the day you switch it on.

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.