The Complete Excel Course with AI Integration
Power Pivot and DAX for merchandise planners
A season of till lines, the item master and the store list rarely fit one sheet, and every new question from the buying team means another lookup column. The Complete Excel Course with AI Integration replaces that with a Power Pivot model in SalesFusion, its industry-standard data project: one clean master table, relationships instead of lookups, DAX measures that hold for any store, class or month, and PivotTables that report from the lot.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load a cleaned master table of a season's sales into the Data Model, with the product and store lookups beside it, instead of onto a sheet.
- Relate the sales table to its lookups in Diagram View, so department, class, grade and region filter every report without a lookup column.
- Write DAX measures with SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT for sales, margin rate, share of total and transaction counts.
- Build a share-of-total measure that stays right when a slicer cuts the report to one store or one month.
- Count baskets rather than rows, and work out average basket value per store, with DISTINCTCOUNT and DIVIDE.
- Trace a measure's error back to its source with Check Formula and fix it in Power Query, where the fault began.
- Report from the model in a tabular PivotTable, then join several PivotTables from the Data Model under shared slicers in one dashboard.
- Split every measure into sales and returns with the label the query adds, without rewriting a single measure.
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 as a reporting system on messy sales exports, it ends in the model a planner's week needs: one master table related to its lookups, six DAX measures, a tabular report and a dashboard of PivotTables from the Data Model under shared slicers.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales, its PivotTables, slicers and Refresh All are the reporting habits the model's own PivotTables reuse, worth having in hand before the Power Pivot lessons begin.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 8 of them, 53 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 153 SalesFusion Power Query project
Begin at Lesson 153: SalesFusion's opening shows the finished report and why the data model matters, then the path takes only the preparation the model needs before Power Pivot itself, which runs on Excel for Windows. Not yet at home with PivotTables? Lesson 57 is the better first stop, and a newcomer to Excel starts the course at Lesson 1. Planners who already keep a clean master table in Power Query can go straight to Lesson 169, where the model and its measures begin.
8 of 186 lessons · 53 min
15 SalesFusion: advanced data tools and a Power Query modelling system SalesFusion's goal and plan: a finished report that a slicer filters, Power Query as the engine that prepares the data, and the data model introduced as the map of how the tables relate. It sets out why a planner's files belong in a model rather than on a sheet.
- 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 Dates made fit for a model: placeholder and impossible dates cleared, the column set to Date rather than Date/Time to save memory and keep relationships clean, and year, month name, month number and month start columns created for period reports.
- 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 Where a query's output goes: a sheet, a connection only or the Data Model, with the staging queries kept as connections so only the finished table is carried forward into the model.
- 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 master table the model reads: history and a folder of files appended, product and region details merged in, nulls checked after each step, and the result 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 Power Pivot itself: the master table and its lookups loaded into the Data Model and related in Diagram View, one code to its partner, then six measures written in DAX: total sales, profit, margin percentage, share of total, order count and average order value. Both run only in Excel for Windows, as the course's requirements say of Power Pivot.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system The report and the dashboard built from the model: a tabular PivotTable of the measures by category, led by profit, then PivotTables from the Data Model by region, by month and for the best-selling products, joined under slicers connected to all of them.
- 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.
A season of till lines swamps a merchandise planner's workbook: can Power Pivot and DAX carry it all in one model?
Yes: the Data Model holds far more rows than a worksheet can, and The Complete Excel Course with AI Integration from Coding Liquids builds one in SalesFusion, a project that is industry standard and was designed after talking with people from many different industries. Power Query assembles one master table from cleaned history and a folder of current files and keeps it as a connection (Lesson 168); Lesson 169 loads it with its product and region lookups into the Data Model and relates them in Diagram View; Lesson 170 writes measures for total sales, profit, margin percentage, share of total, order count and average order value that recalculate for every filter and slicer. The rows never touch a sheet, so the workbook stays light while the PivotTables of Lesson 171 and Lesson 172 report from the model. Power Pivot asks for Excel on Windows, and a planner's route through this part of the course takes 53 minutes over 8 lessons.
Our sales export carries a lookup column for every attribute in the item master: what changes when the tables are related instead?
The lookup columns go and every attribute stays within reach, and The Complete Excel Course with AI Integration shows the change in Lesson 169. In Diagram View the sales table sits between its product and region lookups, and dragging a code onto its partner creates each relationship: the 1 marks the lookup table, where each code appears once, and the asterisk the sales table, where it repeats. The lesson's own comparison is a VLOOKUP dragged down ten thousand rows, replaced by one line on a diagram. For a planner, the item master's department, class and supplier and the store list's region, grade or format become fields in every PivotTable built from the model, as Category and Region Name do in Lesson 172, with no column added to the sales file. The relationship work needs Excel for Windows, and the time it saves comes back every week the export grows.
Sell-through, margin rate, GMROI: which planning measures could I write in DAX after these lessons?
The ratio measures of a planning pack are built from the functions The Complete Excel Course with AI Integration teaches in Lesson 170, on six working measures. SUM gives Total Sales and Total Profit; DIVIDE gives Margin Percentage and average order value, returning a blank rather than an error when the bottom figure is zero; CALCULATE with ALL gives a share of the total; DISTINCTCOUNT counts each order once. Sell-through, units sold over units received, and margin rate, profit over sales, are each a DIVIDE of two sums, the very shape of the lesson's Margin Percentage, and each recalculates for whatever store, class or month a slicer picks. GMROI and weeks of cover both need stock read across a span of weeks, which takes DAX beyond the measures the lessons build. Every measure you write sits in the model once and serves every PivotTable that uses it, so the definition never drifts between reports.
Can a share measure show each class's slice of sales and stay right when the report is cut to one store or one month?
Yes, that is what CALCULATE with ALL is for, and The Complete Excel Course with AI Integration builds it in Lesson 170 as Sales Percentage of Total by Category. ALL inside CALCULATE lifts only the category filter, so the bottom of the fraction becomes the total of every category while any store, month or region a slicer picks stays in force; each category's share is then a share of that store's or that month's sales, and the shares add to a hundred per cent. A percentage typed on a sheet against one total cell cannot do that, since the total cell does not follow a slicer. Point ALL at the class column instead and, with department also on the rows, each class shows its share of its own department, the view a planner uses to judge the balance of a range. It is one short measure, written once and reused in every report the model feeds.
Each basket spans several rows of the sales file: can the model give a true count of transactions and the average basket value per store?
Yes: DISTINCTCOUNT and DIVIDE do it, and The Complete Excel Course with AI Integration builds both in Lesson 170. The lesson's Orders measure counts each order number once, even though an order has a row for every product in it, so the count is of baskets rather than lines; AOV then divides total sales by that count with DIVIDE, which returns a blank instead of an error where there are no orders. Put Region Name or your store field on the rows of a PivotTable from the model and both measures recalculate store by store and month by month, with nothing filled down. Units per basket works the same way, total units over the order count. For a planner these measures explain a sales change that units alone cannot, whether a store served fewer customers or sold less to each, and they hold steady whichever slicer the buying team clicks.
Do the weekly files need cleaning before the model can use them, or does Power Pivot tidy them itself?
They are cleaned first, and The Complete Excel Course with AI Integration gives that job to Power Query before Power Pivot sees a row: in the project's own words, Power Query cleans the data and Power Pivot connects it (Lesson 169). The master table the model reads is assembled in Lesson 168 from cleaned history and a folder of cleaned files, with product and region details merged in and nulls checked after every join, then held as a connection only. Lesson 159 explains why dates are stored as Date rather than Date/Time: the time adds nothing, costs memory and complicates relationships. Lesson 162 sets out the load choices, a sheet, a connection or the Data Model, and the model lesson then loads the master table and both lookups with Add this data to the Data Model ticked. Clean text and true types are what let a measure total correctly, which is why the preparation lessons come first on this path.
A measure returns an error the morning a new file lands: does the course show how to trace it?
Yes, on a real fault, and The Complete Excel Course with AI Integration turns it into a method in Lesson 170. While building Total Sales the lesson hits an error, opens Manage Measures, edits the measure and uses Check Formula, and traces the cause to the sales column held as text instead of a number. The fix goes where the fault was born, in Power Query, by setting the column's type, and the measure is rebuilt and works. A planner's version is usually a new store file with a stray word or symbol in a figures column: the query lessons show where types are set (Lesson 158) and how errors are replaced (Lesson 157), and the folder query's sample-file steps carry the fix to every file at once (Lesson 166). Reading an error back to its source is what keeps a weekly model trusted rather than rebuilt in a panic before the trading meeting.
I can write any SUMIFS a planning sheet needs: how different is writing a DAX measure?
Different in where it lives more than in how it reads, and The Complete Excel Course with AI Integration makes the step a short one. A SUMIFS sits in a cell and carries its conditions inside it; a DAX measure sits in the model, written once in Power Pivot's New Measure box, and takes its conditions from wherever it is used: the rows, columns and slicers of the PivotTable around it (Lesson 170). So Total Sales is simply SUM of the sales column, and the PivotTable supplies the store, the class and the month that a SUMIFS would have needed spelt out. CALCULATE is the part that feels new, a way of changing those conditions on purpose, as the lesson's share of total does with ALL. The vocabulary is small: SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT carry every measure the course builds. Your SUMIFS instincts stay useful too, as the quickest way to check any figure a measure returns.
Sales, receipts and stock arrive as separate files: can one model hold them around the item master?
Yes, around a shared item master, and The Complete Excel Course with AI Integration teaches the pattern it rests on in Lesson 169. The lesson places the sales table between its product and region lookups and relates each in Diagram View, one code to its partner, one-to-many. A receipts table is related to the same product lookup by the same drag, and a stock table likewise, so all three answer to one filter on department, class or supplier; the usual rule is to tie each data table to the lookups and never straight to another data table. The lessons build the model with one sales table, and extending it needs no new technique, only the same step repeated, with measures on the new tables written in the same SUM and DIVIDE (Lesson 170). Stock, being a weekly snapshot, is read one week at a time rather than added across weeks. Sell-through across two tables then becomes a single measure instead of a chain of lookups.
Returns sit in the same table as sales: can every measure report them apart without new formulas?
Yes: a label made in the query does it, and The Complete Excel Course with AI Integration prepares that label before the model is built. SalesFusion's query marks each row Return or Sale from the sign of its sales amount (Lesson 160), and the folder query repeats the rule for every file (Lesson 167), so the column travels into the model with the rest of the master table. Put it on a slicer or across the columns of a PivotTable from the model (Lesson 171) and Total Sales, Orders and every other measure split into sales and returns at once, with no measure rewritten. Where a figure must always leave returns out, CALCULATE, which the course uses with ALL, also accepts a condition such as the label equal to Sale, giving a sales-only measure for sell-through. Return rates by store or class then come from a DIVIDE of the two, ready for the conversation with the buying team about which lines come back.
Data Model, Power Pivot, DAX: which is which, in a planner's terms?
In stockroom terms, the Data Model is the stockroom, Power Pivot its layout and DAX the tally, and The Complete Excel Course with AI Integration introduces all three in that order. The Data Model is where the tables are held, a store behind the workbook rather than rows on a sheet, presented in Lesson 153 as the map of how tables relate. Power Pivot is the window where you arrange that store: opened from the Data Model icon on the Data tab, it shows the tables in Diagram View and lets you relate sales to the item master and the store list (Lesson 169). DAX is the language of the measures written there, total sales, margin percentage, share of total, the tallies every report draws on (Lesson 170). Power Query, which comes before all three, fills the store with clean data. Power Pivot's window opens only in Excel for Windows; the PivotTables that read the model are where the trading pack takes shape.
A new store opens mid-season: does anything in the model need rewriting?
Nothing needs rewriting, and The Complete Excel Course with AI Integration shows why the model takes a new store in its stride. Measures are written once and recalculate for every filter and slicer (Lesson 170), so Total Sales or a share of total simply includes the new store's rows after the next refresh. What the new store does need is a line in the store list, the lookup table on the one side of the relationship (Lesson 169), so its region, grade or format can filter the reports; sales that arrive before that line exists appear in PivotTables under a blank label, a prompt to update the list. The project's habit of checking for nulls after every merge and append (Lesson 168) catches the same gap in the query. Slicers already connected to every PivotTable (Lesson 172) offer the new store as soon as its data arrives, so the trading pack covers it from its first week.
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
- Excel formulas for merchandise planners
- Lookups for merchandise planners
- PivotTables for merchandise planners
- Excel charts for merchandise planners
- Dashboards for merchandise planners
- Conditional formatting for merchandising
- Data cleaning for merchandise planners
- Data validation for merchandise planners
- Excel tables for merchandise planners
- Text functions for merchandise planners
- Date functions for merchandise planners
- Dynamic arrays for merchandise planners
- Power Query for merchandise planners
- Copilot for merchandise planners
- ChatGPT for merchandise planners