The Complete Excel Course with AI Integration
Power Pivot and DAX for business analysts
Every stakeholder question can cost a business analyst another lookup column, another sheet of formulas and another way of defining the same KPI. The Complete Excel Course with AI Integration moves that work into a Power Pivot data model on SalesFusion, an industry-standard project, and this page picks out its lessons in the order a model is built: a control query, clean tables held as connections, relationships, DAX measures, then a report stakeholders slice.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load cleaned extracts into the Data Model as connections, so the rows live in the model rather than the grid, and relate them on their shared codes in Power Pivot's Diagram View.
- Read each relationship the way a data mapping needs it: the code held once on the lookup side and repeated on the transactions side.
- Turn a KPI defined in the requirements into a named DAX measure, written once and reused by every PivotTable built from the Data Model.
- Count orders rather than order lines with DISTINCTCOUNT, work out average order value and margin percentage with DIVIDE, and keep a category's share of the total right with CALCULATE and ALL.
- Trace a failing measure with Check Formula to a figure column held as text, and correct the type upstream in Power Query so the fix survives every refresh.
- Prove the model before sign-off against a Group By control query of totals and row counts by month and region.
- Answer each new stakeholder cut with a PivotTable from the Data Model, and gather them into a dashboard with a Top 10 filter and slicers wired to every table through Report Connections.
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 extracts in CSV files with separate product and region lists, it gives a business analyst the whole route from raw rows to a related model: a fact table proved against a control query, two relationships, six named measures and a dashboard every stakeholder reads the same way.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
The course's PivotTable project on order-level sales, it trains the moves a model's report repeats: fields placed in rows and values, dates grouped by month, slicers and Refresh, so PivotTables drawn from the Data Model feel familiar from the first click.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 9 of them, 57 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 already part of your week: SalesFusion opens with the report it builds towards, and this page then follows the model from the control query to the finished dashboard. The SalesFusion lessons between these runs clean the extracts in Power Query: take them in order if you have never written a query. If PivotTables are still unfamiliar, their section from Lesson 57 comes first, and a complete newcomer to spreadsheets begins at Lesson 1. Already shaping data in Power Query? Move quickly to Lesson 169, where the model begins.
9 of 186 lessons · 57 min
15 SalesFusion: advanced data tools and a Power Query modelling system The plan before the build: the finished SalesFusion report toured as the goal, a detail sheet that follows the business view's filters by itself, the data model introduced as the map of how tables relate, and the ETL workflow whose last step loads clean data into Excel or Power BI. It shows an analyst why the model comes after the clean-up, never before it.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system The control and the hand-over: a reference query that totals sales and counts rows for every month and region, the baseline the model's figures must later match, then Close and Load choices that keep queries as connections, ready for the Data Model, instead of pasting their rows into sheets.
- 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 table the model is built around: one master fact table, merged with its product and region lookups and appended to its history, checked for blanks after every join, its profit column kept as a decimal so nothing is rounded away, and held as a connection for the Data Model.
- 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 The model itself, built in Power Pivot, which needs Excel for Windows: tables loaded into the Data Model and related in Diagram View, six DAX measures from Total Sales to each category's share of the total, then a tabular report led by profit and margin and a dashboard of four PivotTables from that model, with four slicers wired to all of them. The lessons use sales data; the same model holds any extracts that share codes.
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
As a business analyst, how do I learn Power Pivot and DAX on a real data model rather than from a function reference?
Build one from raw extracts to a dashboard, which is how The Complete Excel Course with AI Integration from Coding Liquids teaches it, in SalesFusion, an industry-standard project designed after talking with people from many different industries. The material is an analyst's usual pile: sales extracts in CSV files and separate product and region lists that share codes with them. You load the cleaned tables into the Data Model and relate them in Power Pivot's Diagram View (Lesson 169), write six DAX measures from Total Sales to a category's share of the total (Lesson 170), then put them in front of stakeholders as a tabular report and a dashboard of four PivotTables and four slicers (Lesson 171, Lesson 172). This page picks out the 9 lessons that carry the model, 57 minutes in all, each tied to a business analyst's work. DAX is the formula language of Power BI's models too, so every habit travels.
Extracts from several systems share the same codes: can Power Pivot relate them instead of merging everything into one wide table?
Yes, and relating them is the first job The Complete Excel Course with AI Integration gives Power Pivot. In Lesson 169 the cleaned sales table and two lookup tables, one of products and one of regions, go into the Data Model and are joined in Diagram View by dragging a code onto its partner: RegionCode onto RegionCode, the product ID onto ProductID. Each line is one-to-many, marked 1 on the lookup side, where every code appears once, and with an asterisk on the sales side, where it repeats. Fields from all three tables then sit together in one PivotTable, so a region's name slices sales held in another table. For a business analyst that ends the lookup column added for every new attribute: the lesson sets one relationship against a VLOOKUP dragged down thousands of rows. The lists stay separate, so a corrected name in a reference list reaches every report at the next refresh.
Could Diagram View serve as the data model picture I take into a data mapping workshop?
Yes, and unlike a drawing it is the model itself, so it never drifts from what the reports use. In The Complete Excel Course with AI Integration, Lesson 169 opens Power Pivot's Diagram View, places the sales table between its two lookup tables and draws each relationship by dragging one key onto another. The picture answers what a mapping session has to agree: which tables exist, which column joins them, and which side holds each code once, marked 1, against the side where it repeats, marked with an asterisk. Each table's box lists its columns, so a missing or misnamed field shows at a glance. The headers are the ones renamed for modelling in Power Query (Lesson 156), written without spaces because spaces would need extra brackets in DAX. Agree the mapping on screen, then show the PivotTable that runs on it, and the workshop sees design and result together.
The requirements define each KPI in a sentence: how does DAX turn that sentence into one definition every report shares?
By making it a measure, written once in the model and used by every PivotTable built on it. The Complete Excel Course with AI Integration writes six in Lesson 170, each from Power Pivot's New Measure box inside Excel: Total Sales and Total Profit as sums, Orders as a distinct count of order IDs, Margin Percentage and average order value with DIVIDE, and each category's share of the total with CALCULATE and ALL. Each carries a name a stakeholder can read, and each recalculates for whatever filter or slicer is applied, so the margin of one region and the margin of every region come from the same definition. Lesson 172 proves the point: three new PivotTables come straight from the Data Model, by region, by month and for the top products, and none needs a formula of its own, because the measures are already there. When review changes a definition, you edit one measure and every table follows.
Where can stakeholders see how each KPI is worked out before they sign it off?
In the model's own list of measures, which The Complete Excel Course with AI Integration opens in Lesson 170. Power Pivot's Manage Measures shows every measure by name, Edit opens its DAX formula, and Check Formula tests it before it is saved. The formulas read close to plain words: DIVIDE one total by another, CALCULATE a figure with ALL lifting the category filter, DISTINCTCOUNT the order IDs. That list makes a working KPI catalogue for a walkthrough: open a measure, read its definition aloud, then show its result in the PivotTable beside it. The data underneath has a trail of its own, since every Power Query step is named in Applied Steps (Lesson 156), from the raw extract to the table the model loads. Together they let a stakeholder follow a figure from its definition back to the file it came from, the traceability a business analyst is asked to show.
Stakeholders dispute the order count because the extract holds a row per product: can a measure settle it?
Yes, the Orders measure exists for exactly that. The SalesFusion extract in The Complete Excel Course with AI Integration has a row for every product on an order, so counting rows counts order lines, and anyone who counts orders arrives at a smaller figure. Lesson 170 writes Orders with DISTINCTCOUNT on the order ID, which counts each order once however many lines it carries, and AOV, the average order value, then divides sales by that count with DIVIDE, so the average describes whole orders rather than lines. For a business analyst this is the grain question every requirement has to settle: does the figure count lines, orders or customers? Put the answer into the measure's name and formula and the argument ends in the model instead of the meeting. DIVIDE also returns a blank rather than an error when a selection holds no orders, so a filtered view stays clean.
Margin already sits in my cleaned extract as a column: what does a Margin Percentage measure add?
A margin that stays right at every level of the report, which a column cannot promise, and The Complete Excel Course with AI Integration builds both. Lesson 160 adds Margin to each row in Power Query, profit over sales with a test that avoids dividing by zero, and that is the right figure for a single sale. Summarised, though, an average of row margins weighs a small sale the same as a large one, so a region's figure drifts away from its real margin. The Margin Percentage measure of Lesson 170 divides total profit by total sales for whatever the PivotTable shows, one category, one region or everything, so the result always agrees with the totals beside it. Values that belong to a row live in the query; ratios across a selection live in DAX. For a requirement that asks for margin by region and by month, that split decides whether the report matches finance's figures.
Each category's share of the total is a stakeholder favourite: what keeps that percentage honest when a slicer is clicked?
CALCULATE with ALL, the pair The Complete Excel Course with AI Integration builds into its share measure in Lesson 170. Divide a category's sales by total sales in the obvious way and, once the PivotTable splits the rows, each category is divided by itself and shows a full share. Sales Percentage of Total by Category avoids that: CALCULATE works out the grand total with ALL clearing the category filter, and DIVIDE sets the category against it, showing a blank instead of an error for an empty selection. Because measures recalculate for every filter, a slicer on year or region narrows both figures together, and the shares still add up within the selection. Lesson 171 places the measure in a tabular report by category beside Total Profit and Margin Percentage, and Lesson 172 shows the percentages in Percent Style with two decimal places, since a bare fraction means little at a glance.
A business case needs today's baseline figures: can the model give them by region, category and month?
Yes, all from one source, which is what makes a baseline defensible. The dashboard The Complete Excel Course with AI Integration builds in Lesson 172 holds four PivotTables on the Data Model: sales by category, sales by region, a monthly trend with Year above SaleDate, and the leading products through a Top 10 value filter. The measures of Lesson 170 feed every one, so sales, profit, margin, orders and average order value mean the same in each view. Slicers for category, channel, year and region are tied to every table through Report Connections, so one click narrows the whole baseline to a single segment. For a business analyst the as-is picture becomes a set of figures with stated definitions, and the business case can quote them knowing that a refresh of the extracts moves every number the same way.
Fresh questions keep arriving after the workshop: does each one need its own sheet of formulas?
One new PivotTable each, on the same model, with the measures already written. The Complete Excel Course with AI Integration shows the move in Lesson 171: a test PivotTable drawn from the Data Model becomes a report by product category, the Category field taken from the products table and the figures from the model, with no formula typed on the sheet. The lesson then trims it to what the question needs, removes two measures from Values, turns grand totals off and switches to tabular form, which reads more easily and exports cleanly. Lesson 172 repeats the move for region, month and top products, each a table built from the field list. For a business analyst that turns the follow-ups from a workshop into a short session in the field list, and every answer agrees with the others because all of them share one set of definitions.
In user acceptance testing, how do I show the model's totals agree with the source extract?
With a control query on one side and the model's own figures on the other, and The Complete Excel Course with AI Integration teaches both. Lesson 161 builds the control: a reference query in Power Query that groups the cleaned rows by year-month and region, with a total of sales and a count of rows for each pair, largest first, so a figure that looks too good stands out. Lesson 162 keeps it as a connection, ready to run again. Set a PivotTable from the Data Model beside it, Total Sales by the same months and regions, and the two must agree before anything is signed off. Lesson 170 shows what a failed test looks like: Check Formula traces a broken measure to sales amounts stored as text, and the fix goes back into Power Query, where the type is corrected for every refresh. Expected result, actual result, defect fixed at the source: a test case in Excel form.
I write SQL against the source systems: is DAX harder or easier to pick up?
Different more than harder, and The Complete Excel Course with AI Integration starts you on the part that differs. A SQL query shapes a result set; a DAX measure returns one figure whose meaning depends on where it lands: the PivotTable cell, the slicers set, the rows the filters leave. The measures of Lesson 170 climb that idea in order, SUM for Total Sales, DISTINCTCOUNT for orders, DIVIDE for ratios, then CALCULATE with ALL, which changes the filters a measure sees so it can reach the grand total. Joins become relationships, drawn once in Diagram View (Lesson 169) rather than written into every query. Your SQL habits carry across, because thinking in keys, grain and aggregates is most of the work. Time intelligence and advanced patterns lie beyond these lessons; the core every measure rests on is here, built on a model of your own.
I work on a client's laptop: does Power Pivot need a download, and does it need Windows?
It needs Excel for Windows and no download: Power Pivot comes with that Excel, and The Complete Excel Course with AI Integration switches it on in Lesson 169 from the Data tab, where Manage Data Model asks to enable the data analysis add-ins. The course's requirements name Windows for Power Pivot, so the relationships and measures of Lesson 169 and Lesson 170 need a Windows PC, and the report and dashboard after them are built on that model. The lessons before them are Power Query, which a Mac running Excel from Microsoft 365 also has, so an analyst on a Mac can follow the plan, the control query and the fact table here. On a client's machine, check that the installed Excel is the Windows desktop version, and everything on this page runs. The SalesFusion CSV files and the finished workbook come with the course, so nothing has to leave the client's systems for you to practise.
How soon could a stakeholder report run from a model I built, and what do I keep afterwards?
About 57 minutes of lessons, and the model itself stands well before the last of them. In The Complete Excel Course with AI Integration, SalesFusion's plan is set in Lesson 153, the control query and load choices follow, the fact table is ready by Lesson 168, the relationships by Lesson 169 and the measures by Lesson 170; the report and dashboard lessons that close the path turn it into something a stakeholder clicks. Rebuild those steps on your own extracts and the next recurring report can run from a model the same week. You keep the SalesFusion dataset of CSV files and the finished workbook to compare against, lifetime access for the next model you design and, when you complete the course, a Certificate of Completion an employer can verify through its link. With the instructor support plan, a question about your own model reaches the instructor in writing.
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 Query 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