The Complete Excel Course with AI Integration

Power Pivot and DAX for management consultants

A client's data request comes back as a transactions extract and a handful of master files from different teams, and the case needs every cut of them by morning. The Complete Excel Course with AI Integration teaches management consultants to hold those files in one Power Pivot data model and measure them with DAX, on SalesFusion, an industry-standard project. This page picks out the model half: loading, relationships, six measures, a sliced report and the plan grid.

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:

  • Load a client's transaction extract and its master lists into the Excel Data Model as connections, so the full history lives in the model instead of on a crowded sheet.
  • Relate those tables in Power Pivot's Diagram View on the codes they share, one-to-many from each master list to the transactions, in place of lookup columns filled down every row.
  • Write DAX measures for revenue, profit, margin percent, distinct order counts and average order value that give the right figure at every level of a cut.
  • Set each business unit, product or region against the client's total with a share-of-total measure built on CALCULATE and ALL, ready for a mix or benchmarking exhibit.
  • Turn model PivotTables into exhibits: tabular layout, grand totals off, profit and margin first, and ratios shown as percentages.
  • Tie several Data Model PivotTables to the same slicers through Report Connections, so one click re-cuts the whole sheet during a working session.
  • Trace a failing measure with Check Formula to a column stored as text, fix it at the source in Power Query and rebuild the measure.
  • Bring a plan that arrives as a grid with a column per month into the model as a compact long table of month, budget and target.

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 sales reporting system on a set of messy CSV exports and two lookup lists, its second half is the model a case team leans on: a master sales table related to product and region tables, six DAX measures, a tabular report led by profit and a dashboard where four slicers move four PivotTables together.

  • Project 05

    SalesPlusPerformance

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

    The course's PivotTable project on order-level sales, taken before the model: fields, date grouping, slicers and Refresh All, so a PivotTable drawn from the Data Model in SalesFusion is familiar from its first click and only the measures are new.

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 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 you already build PivotTables and keep data in Excel tables: the overview shows the finished model before you lay its first piece. New to PivotTables? Take them from Lesson 57 first, and begin at Lesson 1 if Excel itself is new. Already preparing client data in Power Query? Open the complete SalesFusion workbook from the practice files and go straight to Lesson 169, where the tables enter the model.

9 of 186 lessons · 57 min

15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min The destination first: the finished SalesFusion report, a business view with slicers and a detail sheet that follows it, and the plan of a pipeline where Power Query cleans the files and a data model maps how the tables relate. A consultant sees where a case's data work ends before building the first table.
  1. 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 1 of 21 lessons · 5 min Where a query's result goes: a connection only, a table on a sheet or the Data Model, and the rule of loading the finished table alone, so staging steps never swell the workbook that goes to a client.
  1. 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 1 of 21 lessons · 3 min Two years of sales appended into one query, matched on their headers, so the model later holds a single timeline and any month of one year can sit beside the same month of the other.
  1. 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 1 of 21 lessons · 6 min The fact table the model rests on: the folder of period files merged with its product and region lookups, stacked under the appended history as one Main Sales File, checked for blanks and kept as a connection ready for the model.
  1. 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 2 of 21 lessons · 16 min The heart of the skill. Three tables enter the Data Model and are related in Diagram View, one-to-many on region code and product ID; then six DAX measures are written in Power Pivot: total sales and profit, percent of total with CALCULATE and ALL, an order count with DISTINCTCOUNT, and margin percent and average order value with DIVIDE. These lessons need Excel for Windows.
  1. 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
  2. 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 2 of 21 lessons · 15 min From measures to exhibits: a tabular report by category led by profit with grand totals off, then three more PivotTables from the Data Model, by region, by month and for the top products, joined to four slicers through Report Connections and given one style. They read the Power Pivot model, so they also need Excel for Windows.
  1. 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 min
  2. 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 8 min The plan grid every client keeps: a budget and targets export with a column per month unpivoted into month and amount, given real dates and grouped into a compact table for the data model, with nothing in the query that a new month column can break.
  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.

How do management consultants use Power Pivot and DAX on client data, and which course teaches it on a working model?

They use it to hold a client's separate extracts in one related model and to write each metric once, as a measure that answers every cut of the case. The Complete Excel Course with AI Integration from Coding Liquids builds that model with you on SalesFusion: like every project in the course it is industry standard, shaped by conversations with people from many different industries. Three tables enter the Data Model and are related in Diagram View (Lesson 169), six DAX measures follow, from total sales to percent of total and average order value (Lesson 170), and the measures then fill a tabular report and a dashboard of four PivotTables moved by four shared slicers (Lesson 171 and Lesson 172). The path on this page runs 9 lessons, 57 minutes, from the overview to a plan table shaped for the model. The CSV dataset and the complete workbook come with the course, and the Power Pivot lessons need Excel for Windows.

A client's data request returns a transactions extract and master files from different teams: how do they become one model?

Each file becomes a table in the Data Model, joined to the others by the codes they share, and The Complete Excel Course with AI Integration builds exactly that in Lesson 169. The master sales table and two lookup tables, products and regions, are loaded with Add this data to the Data Model ticked; Diagram View then shows them as boxes, and a drag from RegionCode to RegionCode, and from the product ID to ProductID, draws each relationship. Both are one-to-many: the 1 marks the lookup, where each code appears once, and the asterisk the sales table, where it repeats. A client's customer master, product hierarchy or organisation mapping joins its extract the same way. Nothing is copied into the transactions and no lookup column is filled down thousands of rows, yet a PivotTable can set a field from one table beside a total from another.

Pivot or Power Pivot: when does a case outgrow the PivotTable I already know?

When the answer needs more than one table, a count of distinct things or one definition of a ratio across many views, and The Complete Excel Course with AI Integration teaches both sides of that line. The ordinary PivotTable, built on one sales table in the PivotTables section from Lesson 59, reads a single range, so names from a master list must be looked up into it first. A PivotTable inserted From Data Model, as in Lesson 170, reads related tables directly. An ordinary PivotTable's Count counts rows, so an order with several product lines is counted several times; the Orders measure, a DISTINCTCOUNT of order IDs, counts it once. And a ratio defined as a measure is worked out afresh in every cell instead of averaged. Keep the ordinary PivotTable for a quick read of one clean extract, and move to the model the moment a case needs any of those three.

Share of total, margin, order counts, average order value: can I write the measures a case team asks for?

Yes: each of those four is a measure The Complete Excel Course with AI Integration writes in Lesson 170, alongside total sales and total profit, and each maps onto a question a case team is asked. Which segment carries the business? The percent of total measure, using CALCULATE and ALL to reach the grand total, answers it for any grouping. Where is money made? Margin Percentage divides profit by sales for each cell. How busy is the client, and how big is a typical transaction? Orders counts each order ID once with DISTINCTCOUNT, and AOV turns sales per order into the unit economics a partner asks about first. DIVIDE sits behind every ratio, so an empty segment shows a blank instead of an error on the slide. Write them once in the New Measure dialog and every PivotTable on the model shares the same definitions, so the margin on one slide agrees with the margin on the next.

Can one measure give each business unit's share of the client's total, however the exhibit is filtered?

Yes, and that measure is the engine of a mix or benchmarking exhibit. In The Complete Excel Course with AI Integration, Lesson 170 writes Sales Percentage of Total by Category: DIVIDE sets the sales in each row against a denominator that CALCULATE works out with ALL on the category, so the denominator ignores which category the row shows and reaches the grand total. Build the same measure on a business unit, product line or customer segment column and you have the share each takes of the client's revenue. ALL clears the category filter alone, so a slicer on region or year still applies: pick a region and the shares are recalculated within it. A worksheet would need a fresh formula for every view; the measure serves every PivotTable on the model, and Lesson 171 sets it beside profit and margin in the finished report.

Averaging the margins of single sales gives a client's segments the wrong margin: does a DAX measure put that right?

Yes, because a measure works the ratio out from the totals of whichever cell it sits in. The Complete Excel Course with AI Integration builds row-level Profit and Margin columns in Power Query (Lesson 160), which suit flagging single sales. Averaging that Margin column across a segment, though, weighs a small sale exactly like a large one, so the segment's margin comes out wrong. The Margin Percentage measure of Lesson 170 divides profit by sales afresh for every cell of the PivotTable, so a region, a product line or the whole client each gets its true margin, and DIVIDE leaves a blank, not an error, where sales are zero. Average order value is built the same way, as a DIVIDE measure worked out per cell. On a profitability case that is the difference between an exhibit a partner trusts and one sent back for rework.

One slicer click to move every exhibit on the sheet: can the model's PivotTables work together like that in a client session?

Yes, and The Complete Excel Course with AI Integration builds that exact sheet in Lesson 172, the lesson a consultant will lean on in front of a client team. Four views share the model: the category report, sales by region, a monthly trend and the leading products, picked out with a Top 10 value filter. Four slicers, for category, channel, year and region name, are then wired to every view through Report Connections. In the session, the client asks how the picture changes for one channel in one year: two clicks, and all four views redraw with each measure recalculated, while nobody waits for a rebuild or a fresh export. The headings share one look through Format Painter, and the slicers and PivotTables share one colour style, so the sheet reads as a single exhibit when it goes up on the screen.

A client's full transaction history will not fit on one sheet: can the data model take it?

Yes: a table loaded only to the Data Model never sits on a worksheet, so the sheet's row ceiling stops applying, and The Complete Excel Course with AI Integration teaches the loading habits that keep such a model lean. Lesson 162 sets the rule: load only the finished table and keep every staging query as a connection. Lesson 168 builds the master sales table from two years of history and a folder of period files and holds it as a connection, and Lesson 169 adds it, with its lookups, to the model. Columns the analysis will never use are removed early, as SalesFusion does in its first query (Lesson 156), because every column carried costs space and refresh time. The workbook that reaches a client is then a report, not a data dump, and the PivotTables on it still read every row behind them.

Can the model set this year beside last year, month by month, for a trend or run-rate exhibit?

Yes, through the dated columns each sale carries into the model. In The Complete Excel Course with AI Integration, every row gains Year, MonthName, MonthNumber, MonthStart and YearMonth in Power Query (Lesson 159), and the month number keeps months in calendar order instead of alphabetical. Lesson 165 appends two years of sales into one query, so the model holds one timeline, and Lesson 172 builds a Monthly Trend PivotTable from the Data Model with Year above the sale date and a Year slicer beside it. Lay the years out side by side and each month of one sits next to the same month of the other, with margin, order counts and every other measure recalculated for it. A separate calendar table and DAX's time-intelligence functions are beyond this path; the dated columns and the model's measures carry a case's trend exhibit on their own.

Does Power Pivot need installing before a case, and will it work away from Windows?

It is already part of Excel for Windows, switched on rather than installed, and The Complete Excel Course with AI Integration turns it on in Lesson 169: the Data Model icon on the Data tab, Manage Data Model, and the prompt to enable the data analysis add-ins. The course's requirements name Windows for the Power Pivot lessons, since Excel for Mac does not include Power Pivot; on a Mac, the Power Query half of SalesFusion works, and the model waits for a Windows machine. No Power BI licence, separate database or extra add-in is needed: the tables, relationships, measures and dashboard all live in one workbook that opens like any other. Whether a client's machines allow add-ins is for its IT rules to decide; on your own Windows Excel, the model needs nothing more than the lessons show.

I write SUMIFS all day on cases: how different is a DAX measure, and what happens when one breaks?

Different in one way that matters, and The Complete Excel Course with AI Integration makes that difference the lesson. A SUMIFS names its conditions inside the formula, so each new cut of the data needs another formula; a DAX measure names none, because the PivotTable cell supplies them, so Total Sales written once is right by region, by month and by both. The syntax will look familiar: SUM, DIVIDE and DISTINCTCOUNT read much like worksheet functions, and CALCULATE with ALL is the one new idea, changing which filters a measure obeys. Breaking is part of the lesson too. In Lesson 170, Check Formula in Manage Measures flags a measure that fails, the cause is traced to a sales column stored as text, the type is fixed back in Power Query and the measure rebuilt: the routine you will reuse on every client model.

The client's plan arrives as a grid with a column per month: can it sit in the model beside the actuals?

Yes: the closing lesson of SalesFusion turns exactly that grid into a table the model can hold. In The Complete Excel Course with AI Integration, Lesson 173 takes a budget export with one column per month, keeps the region, category and metric columns fixed and unpivots the rest into month and amount. The month text becomes a real date, the metric is pivoted back into Budget Sales and Target Units columns, and a Group By on the month leaves a compact table shaped for the data model. Unpivot Other Columns names no month, so a reforecast with extra columns flows through untouched. From there, the relationships of Lesson 169 are how any new table joins the model, and FinanceGuard, from Lesson 115, shows the budget against actual report a client expects, its variance and percent variance shown with colours and signs.

When a client wants its reporting moved into Power BI, does the DAX from these lessons carry over?

Yes: DAX is the formula language of Power BI as well as Power Pivot, so what The Complete Excel Course with AI Integration teaches in Excel carries straight across. The relationships drawn in Diagram View (Lesson 169), one-to-many from a lookup to a fact table, are the same idea in a Power BI model; the measures of Lesson 170, built from SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, are written the same way there; and the clean, typed fact table that Power Query produces (Lesson 168) is what a Power BI report needs too. Power BI itself is not taught: the course stays in Excel, where the model, the report and the slicers all live in one file a client can open. A consultant who has built SalesFusion arrives at a Power BI conversation fluent in models, relationships and measures, able to settle the metric definitions in a workbook first.

My next case opens with a data request: how much of this path can I finish before the client's files arrive?

All of it, with evenings to spare: the whole path runs 57 minutes. In The Complete Excel Course with AI Integration, the tables enter the Data Model and are related in Lesson 169, the six measures follow in Lesson 170, and by the end of Lesson 172 the report and its sliced dashboard are finished. Take the overview, the loading choices, the append and the fact table first if queries are new to you; skip ahead if they are not, starting from the complete SalesFusion workbook in the practice files. Every step is checked against a working answer before your own data request comes back, lifetime access keeps the lessons open for the case that needs a new kind of measure, and finishing the whole course earns the Certificate of Completion, with a link an employer can verify.

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.