The Complete Excel Course with AI Integration
Power Pivot and DAX for data analysts
For analysts who answer each new question with one more XLOOKUP column or one more flattened copy of the data. The Complete Excel Course with AI Integration builds the alternative on SalesFusion, an industry-standard project: tables related once in Power Pivot and measured with DAX, so one model serves every slice. This page picks out the lessons that build it, from typed, model-ready queries and a QA check to relationships, six measures, a tabular report and a dashboard on four slicers.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Send a finished query and its two lookup tables to the Data Model with Add this data to the Data Model ticked, so no staging table ever sits on a sheet.
- Relate a sales fact table to its region and product lookups in Diagram View, two one-to-many links that do the work of an XLOOKUP filled down every row.
- Write DAX measures for total sales, total profit, margin percentage and average order value, each recalculated for whatever a slicer, a filter or a PivotTable row selects.
- Count distinct orders with DISTINCTCOUNT, and give each product category its share of total sales with DIVIDE, CALCULATE and ALL, showing a blank instead of an error where a total is zero.
- Trace a failing measure with Check Formula to a sales column held as text, and correct its type in Power Query so every measure reads real numbers.
- Report from the model: a tabular PivotTable led by profit, then a dashboard of four model PivotTables, one of them the top 10 products, with four slicers connected to every one.
- Shape data before the model sees it: true data types, a month number beside each month name so periods never sort alphabetically, row-level business columns made in the query, and a month-per-column export unpivoted into a long table.
- Prove the data first with a Group By query that totals sales and counts rows for each month and region, so a measure that disagrees with it stands out.
Projects
What you will build.
The course has 14 industry-standard projects. These three matter most here.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Its modelling half is an analyst's reporting job in one workbook: a master fact table set between two lookups, related in Diagram View, measured by six DAX measures and read through four PivotTables that share their slicers.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Where the reporting habits are formed: fields and Value Field Settings, date grouping, slicers, PivotCharts, layouts and Refresh All, practised on order data first, so a PivotTable that reads the data model holds no surprises.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
The planning partner beside a model: ChatGPT drafts the business questions and KPIs it should answer, Copilot builds a PivotTable from one prompt to set against your own totals, and a QA checklist tests whatever either returns.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 18 of them, 1 h 39 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 PivotTables are part of your week already. SalesFusion builds its model on queries made in the lessons between the ones listed here, so to build along take Lesson 154 to Lesson 167 in order as well, or open the finished SalesFusion workbook from the practice files and explore its model first. Never built a PivotTable? Begin with Lesson 57, or at Lesson 1 if Excel itself is new. Already fluent in Power Query? Go straight to Lesson 168, where the fact table is finished and the model begins.
18 of 186 lessons · 1 h 39 min
07 PivotTables and PivotCharts: data analysis made easy The PivotTable mechanics every model report reuses: fields in rows, columns and values, Value Field Settings that switch a sum to another summary, dates grouped into years, quarters and months, slicers, PivotCharts, report layouts and styles, then Refresh All. A PivotTable fed by the data model is laid out, filtered and refreshed with these same tools.
- 60 PivotTable fields in Excel Rows, values, columns and Value Field Settings 2 min
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
- 62 Slicers in Excel Filter PivotTables with clickable buttons 3 min
- 63 PivotCharts in Excel Create interactive charts from a PivotTable 5 min
- 64 PivotTable design Tab Report layouts, PivotTable styles and number formats 5 min
- 65 Refresh a PivotTable in Excel Update pivots when source data changes 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system SalesFusion's goal shown first: a business view whose slicers update a linked detail sheet, then the deliberately messy files it starts from, Power Query as the engine of the clean-up, and the data model described as the map of how the tables relate.
- 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system The query lessons a model depends on: figure columns turned from text into decimal and whole numbers, because nothing can sum text, and year, month name, month number, month start and year-month columns, with the month number there so months never fall into alphabetical order and every PivotTable can slice by period.
- 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 Row-level logic kept upstream: profit, margin, a high-value flag and a return label built as columns inside the query, a Group By query of totals and row counts by month and region to check the data against, and Close and Load, which sends a query to a sheet, to the Data Model or into memory as a connection only.
- 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 The model itself: a master fact table checked for blanks, loaded with its two lookups into the Data Model and related one-to-many in Diagram View, then six DAX measures from total sales to distinct orders and average order value, a tabular report led by profit, and a dashboard of four model PivotTables on shared slicers. Building and measuring the model in Power Pivot calls for Excel for Windows.
- 168 Build a sales fact table in Power Query Merge lookups and append history 6 min
- 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
- 170 DAX measures in Power Pivot Total sales, margin percent and percent of total 10 min
- 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 min
- 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 min
15 SalesFusion: advanced data tools and a Power Query modelling system Unpivot for the wide files analysts are handed: a budget export with a column per month reshaped into a compact table of month, budget sales and target units, ready for the data model, by a query that keeps working when new month columns appear.
- 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.
Is there a Power Pivot and DAX course made for data analysts?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches Power Pivot and DAX on SalesFusion, an industry-standard project designed after talking with people from many different industries, and it builds the model the way analysis work needs it: a fact table of transactions related to lookup tables, measured with DAX and reported through PivotTables a stakeholder can filter. This page picks out 18 lessons, 1 hour 39 minutes in all, from the PivotTable mechanics and the query steps that make data model-ready to relationships in Diagram View, six measures, a tabular report and a dashboard on four slicers. You build each piece yourself from the course's CSV files, with the complete workbook to compare against, and leave with a method that fits your own exports, because a relationship and a measure work the same whatever the rows describe.
Why relate tables in a data model instead of flattening them with XLOOKUP?
Because a relationship is made once and serves every report, while a lookup column has to be made again for each new question. In The Complete Excel Course with AI Integration, Lesson 169 loads the master sales table and its region and product lookups into the Data Model and links them in Diagram View: two one-to-many relationships, the lookup side holding each code once and the sales side holding it many times. After that, a field from a lookup, such as Category, slices the measures of the sales table directly, with no XLOOKUP filled down thousands of rows and no widened copy of the data to keep in step. XLOOKUP and INDEX MATCH, taught in Lesson 69 and Lesson 71, remain the right tools for a quick join on a sheet; for a report you rebuild every week on several tables, the model is the sturdier design.
Which DAX measures does SalesFusion build, and which questions do they answer?
Six, each the answer to a question stakeholders ask. In The Complete Excel Course with AI Integration, Lesson 170 writes them in Power Pivot with New Measure: Total Sales, a SUM of the sales amount, says how much was sold; Total Profit says how much was kept; Margin Percentage, worked out with DIVIDE, says how much of each sale is profit; Orders, a DISTINCTCOUNT of the order ID, says how many orders there were, counting each once although an order has a row per product; AOV, average order value, again with DIVIDE, says how large a typical order is; and Sales Percentage of Total by Category, built with DIVIDE, CALCULATE and ALL, says what share each category holds. Every one recalculates for whatever the PivotTable, a slicer or a filter selects, so six definitions replace a sheet of formulas copied across columns.
Which calculations belong in Power Query, and which in DAX measures?
Row-level values in Power Query, totals and ratios in DAX: that is the split The Complete Excel Course with AI Integration builds. Lesson 160 adds Profit, Margin, a HighValue flag and an IsReturn label as columns inside the query, so every row carries them before the model sees it and each refresh works them out the same way. Lesson 170 then writes the figures that depend on what a report shows, such as margin percentage, distinct orders and share of total, as measures, because a ratio for a region or a month has to come from that selection's totals, never from an average of row-level ratios. The rule an analyst can carry to any model follows: a value that belongs to one row goes in the query, and a value that belongs to a selection goes in a measure. The query does the work DAX calculated columns would otherwise do.
What is DAX to a data analyst, and how does it differ from worksheet formulas?
DAX, short for Data Analysis Expressions, is the formula language of the data model, and the big difference is that it reads whole columns and tables instead of cells. The Complete Excel Course with AI Integration shows it in Lesson 170: a measure such as Total Sales sums the sales amount column of the model, with no range to select and nothing to fill down, yet it returns a different and correct figure in every cell of a PivotTable, because each cell brings its own filters. Much of it will feel familiar to anyone fluent in SUMIFS: SUM, DIVIDE and DISTINCTCOUNT do what their names say. CALCULATE with ALL is the genuinely new idea, a measure that steps outside the current filter to reach the grand total, and it is the one that turns a total into a share. You meet each function on a real model, in a lesson you can replay.
Do I need SQL before I learn DAX in Excel?
No. The Complete Excel Course with AI Integration teaches DAX on a model you build yourself in Excel, so nothing in it assumes SQL. If you already write SQL, much will feel familiar: the Power Query merge in Lesson 163 is a join, kept as a left outer join so no sales row is lost; Lesson 164 reads through the other join kinds, inner, right outer and full outer among them; and the Group By of Lesson 161 is an aggregate by month and region. A relationship in Diagram View then does what a join does, without writing a joined table out. SQL itself is not taught, so the Excel side of the same thinking is what you gain, and it pays whenever data reaches you as files rather than through a database connection.
Does building the model call for a Windows PC, and which steps can a Mac handle?
Yes, for the stage where the model is related and measured, since the course's requirements name Windows for Power Pivot. In The Complete Excel Course with AI Integration, Lesson 169 opens the Power Pivot window and draws the relationships in Diagram View, and Lesson 170 writes the measures there, so take those on a Windows PC, where the report and dashboard built on that model follow. Everything earlier on this page sits outside that requirement: the PivotTable lessons, the query steps that type the data and add period columns, the business logic columns, Group By and Close and Load, and the Unpivot lesson at the end. A Mac running Excel from Microsoft 365 can therefore take a query all the way to model-ready; on a Windows PC the whole project, from the first query to the dashboard, is yours to build.
My exports run to more rows than a worksheet handles well: will the data model cope?
Yes: the Data Model holds its tables in memory rather than on the grid, so the worksheet's row limit stops being the ceiling, and The Complete Excel Course with AI Integration teaches the habits that keep a large model quick. Remove the columns you will not report on before anything else, since every later step then has less to process (Lesson 156). Store dates as Date rather than Date/Time, which saves memory and keeps relationships cleaner (Lesson 159). Keep staging queries as connections only, so only the finished table is loaded anywhere (Lesson 162). And drop helper columns such as the source file name before the fact table reaches the model (Lesson 168), because unneeded columns bite back as a model grows. The lessons practise on the course's sales files; the same habits decide whether a far larger export stays responsive.
Can one model answer questions that span several tables, such as profit by product category?
Yes: answering across tables is the whole point of relationships. Once Lesson 169 has linked the sales table to its lookups, The Complete Excel Course with AI Integration starts a PivotTable straight from the Data Model and, in Lesson 171, sets Category, a field of the product lookup, against measures that live on the sales table: total profit, share of total by category, margin percentage and total sales, side by side, in tabular form with grand totals switched off. Not one column was copied between tables to get there. Lesson 172 then adds three more PivotTables from the same model, sales by region name, a monthly trend built from year and sale date, and the top 10 products by name, and wires Category, Channel, Year and Region Name slicers to all four through Report Connections, so one set of relationships answers four questions and one click refilters them all.
I already build PivotTables every day: what changes when they read the data model?
The source and the values change, while the PivotTable skills you have carry straight over. In The Complete Excel Course with AI Integration, Lesson 170 inserts a PivotTable with Insert, PivotTable, From Data Model, and its field list then shows every related table rather than one sheet. In Values you place named measures instead of letting Excel sum a column, so Margin Percentage or Orders means the same thing in every report that uses it, and a field from any related table can sit in Rows. The finishing work is the one you know from Lesson 64: report layout, grand totals and number formats, applied to a model report in Lesson 171. Slicers still join PivotTables through Report Connections. What you gain is a single definition of each figure, written once, named, and reused by every PivotTable in the workbook.
How do I check that a DAX measure returns the right figure?
Three ways, all taught in The Complete Excel Course with AI Integration. First, prove the data before it is measured: the Group By query of Lesson 161 totals sales and counts rows for every month and region, biggest first, so a total that looks too good stands out and the model's figures have a control to agree with. Second, read the measure itself: in Lesson 170, Manage Measures, Edit and Check Formula trace a failing measure to its cause, a sales amount column stored as text, which is fixed in Power Query before the measure is rebuilt. Third, choose functions that fail safe: DIVIDE returns a blank instead of an error when a total is zero, and DISTINCTCOUNT counts an order once however many product rows it holds. Together they turn a figure that merely looks plausible into one you can defend in a meeting.
Will the DAX I write in Excel carry over to Power BI?
Yes: DAX is one language wherever it runs, and Power BI writes its measures in it just as Power Pivot does, with the same Power Query in front, so what you build in The Complete Excel Course with AI Integration transfers whole. SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, the functions behind the six measures of Lesson 170, are written identically there, and the one-to-many relationships you draw in Diagram View (Lesson 169) work the way Power BI's own relationships do. Power BI itself is not a lesson of the course; Excel is where you learn the model, related, measured and reported with PivotTables and slicers, in software your organisation already runs. Open Power BI afterwards and its model, its measures and its query editor will look like old friends rather than a new subject.
Where do Copilot and ChatGPT fit around a data model?
Before it and after it, and The Complete Excel Course with AI Integration teaches both ends. Before: Lesson 100 has ChatGPT draft a manager-ready analysis plan from the data, business questions, KPIs with Excel-style formulas and the charts to draw, which makes a fair first list of the measures a model should hold. After: Lesson 92 has Copilot build a PivotTable of revenue by region and month from one prompt, a quick second opinion on a total your model reports, and Lesson 99 gives a short checklist for testing any AI result before it counts. The measures themselves you write and read in Lesson 170, which is exactly what lets you judge an assistant's suggestion instead of pasting it. The AI lessons work on a sales table; the habit of planning with AI and verifying by hand carries to every model you build.
How many hours of lessons stand between me and my first data model?
About 1 hour 39 minutes for what this page lists, and a working model arrives before the end of it. In The Complete Excel Course with AI Integration, the cleaning, typing and load choices that make data model-ready are done by Lesson 162, the fact table is finished in Lesson 168, the model is related in Lesson 169, and six measures exist by the close of Lesson 170: rebuild those steps on a few tables of your own and the first model is yours, with the report and dashboard straight after. Building SalesFusion's queries from scratch adds the Power Query lessons in between; open the complete workbook from the practice files instead and you can go straight to the model. Count the video as the floor, since building alongside takes longer and is what makes it stick. Lifetime access keeps every lesson open for the day a new data source arrives, and completing the course earns a Certificate of Completion with a verification link an employer can check.
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 data analysts
- Lookups for data analysts
- PivotTables for data analysts
- Charts for data analysts
- Dashboards for data analysts
- Conditional formatting for data analysts
- Data cleaning for data analysts
- Data validation for data analysts
- Excel tables for data analysts
- Text functions for data analysts
- Date functions for data analysts
- Dynamic arrays for data analysts
- Power Query for data analysts
- Macros and VBA for data analysts
- Power Automate for data analysts
- Copilot for data analysts
- ChatGPT for data analysts
- Claude in Excel for data analysts