The Complete Excel Course with AI Integration

Power Pivot and DAX for accountants

VLOOKUPs dragged down thousands of rows and SUMIFS copied across columns hold many month-end reports together, until one more view breaks them. The Complete Excel Course with AI Integration replaces that with a data model, tables related once in Power Pivot and measured with DAX on SalesFusion, an industry-standard project. This page picks out those lessons: loading clean tables to the model, relationships in Diagram View, measures for totals, ratios and shares, and a report and dashboard drawn from the model.

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 cleaned tables into the Excel data model as connections, keeping the worksheet grid for the finished report alone.
  • Relate a fact table to its lookup tables in Power Pivot's Diagram View, one code to many rows, the way a ledger relates to a chart of accounts.
  • Write DAX measures for total sales, total profit and margin percentage with SUM and DIVIDE, so every ratio is worked out afresh for each filter.
  • Show each group's share of the whole with CALCULATE and ALL, the measure behind a cost mix or a revenue mix by category.
  • Count documents rather than lines with DISTINCTCOUNT, and work out the average value of an order or an invoice with DIVIDE.
  • Trace a broken measure with Check Formula back to an amount stored as text, and fix it in Power Query where the fault began.
  • Build a tabular PivotTable report from the data model with profit first and grand totals off, then a dashboard of four PivotTables driven by shared slicers.
  • Keep money columns as decimal numbers in the fact table, so profit is never silently rounded before it reaches a measure.

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 Power Pivot half: a fact table related to two lookup tables in Diagram View, six DAX measures from total sales to distinct orders, and a report and dashboard drawn from the model, the same shape a ledger takes beside its chart of accounts.

  • Project 05

    SalesPlusPerformance

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

    The PivotTable habits a data model report is made of: fields in rows and values, grouping by date, slicers and Refresh All, every one of which carries over unchanged when the PivotTable reads the model instead of a sheet.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Where the course sets budget against actual outright: SUMIFS over two named tables, variance and percent variance, then PivotTables and slicers on the result, the comparison you can carry into a data model of your own once its measures make sense.

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 7 of them, 47 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 153 SalesFusion Power Query project

Start at Lesson 153, where SalesFusion sets out the model you are heading for. The model is built from the Power Query pipeline in between, so if cleaning, merging and appending queries are new to you, take the lessons from Lesson 154 before Lesson 168. Unsure of PivotTables? Take Lesson 57 onwards first, because every report from the model is one. New to Excel? Begin at Lesson 1. Already loading queries to the model? Go straight to Lesson 169.

7 of 186 lessons · 47 min

15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min The plan of SalesFusion: messy exports turned into a clean, connected reporting system that refreshes, with the data model introduced as the map of how the tables relate. Power Query makes the data usable; the model makes it useful.
  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 Close and Load and its three destinations, connection only, a table or the Data Model, with the rule that only the final clean output belongs on the grid, so staging queries wait in memory for the model instead of bloating the workbook.
  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 5 of 21 lessons · 37 min The model itself: one master fact table built from history and a folder of files, checked for nulls and with profit kept as a decimal, then loaded with its two lookups into the Data Model, related in Diagram View, measured with SUM, DIVIDE, CALCULATE with ALL and DISTINCTCOUNT, and reported through PivotTables and connected slicers. The Power Pivot lessons need Excel for Windows, and the report and dashboard after them read the model they build.
  1. 168 Build a sales fact table in Power Query Merge lookups and append history 6 min
  2. 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
  3. 170 DAX measures in Power Pivot Total sales, margin percent and percent of total 10 min
  4. 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 min
  5. 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 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.

Which course teaches Power Pivot and DAX to accountants?

The Complete Excel Course with AI Integration from Coding Liquids does, on SalesFusion, an industry-standard project designed after talking with people from many different industries. Its data model has the shape accounting reports take: one fact table of transactions, related to lookup tables of codes and names, with measures that answer for whatever the report is filtered to. This page picks out the 7 lessons that build it, 47 minutes in all: loading clean tables to the Data Model, relating them in Diagram View, six DAX measures from total sales to distinct orders, and a report and dashboard drawn from the model. The lessons use sales files; a ledger and its chart of accounts relate the same way. Power Pivot needs Excel for Windows, and you build every step yourself, with the finished workbook to compare against.

What does a data model do that VLOOKUP and SUMIFS cannot?

It joins tables once instead of row by row, and it calculates for any view without new formulas. In Lesson 169 of The Complete Excel Course with AI Integration the fact table is related to its region and product lookups by dragging one code column onto another in Diagram View, and the lesson says it plainly: a relationship replaces a VLOOKUP dragged down 10,000 rows. From then on a PivotTable can set a field from a lookup table, such as category, beside figures from the fact table with no helper column (Lesson 171). DAX measures do the work of a grid of SUMIFS, except that each one recalculates for every filter and slicer on its own (Lesson 170). For an accountant that means one model answering by region, product, month or year, where a lookup sheet needs a fresh block of formulas for each.

Can I use DAX in Power Pivot, and which measures does the course write?

Yes: Power Pivot is where Excel keeps its DAX, and The Complete Excel Course with AI Integration writes six measures there in Lesson 170, each through Measures and then New Measure. Total Sales sums the sales amount and Total Profit does the same for profit. Margin Percentage and average order value divide one total by another with DIVIDE, which returns a blank instead of an error when the figure underneath is zero. Sales Percentage of Total by Category uses CALCULATE with ALL to set each category against the grand total, and Orders uses DISTINCTCOUNT so an order spread over several lines counts once. Those are the building blocks of most accounting measures: a total, a ratio, a share and a count. Every one of them recalculates for the filter in front of it, so one measure serves the whole report.

Should I put my calculations in Power Query or in DAX?

Each has its place, and The Complete Excel Course with AI Integration shows the split on one project. Logic that belongs to every row goes into Power Query as custom and conditional columns: SalesFusion works out profit, margin, a high-value flag and a returns flag there in Lesson 160, and fiscal year columns in Lesson 167, so the fact table reaches the model already carrying them. Logic that depends on what a report is showing goes into DAX measures (Lesson 170): totals, ratios, a share of the grand total and a distinct count, worked out afresh for each filter and slicer. For an accountant the rule of thumb matters: a ratio such as margin percentage belongs in a measure, where it is calculated from the totals of what is shown, never averaged from the margin of each row.

Can a measure show each account group's share of the total?

Yes, and The Complete Excel Course with AI Integration builds exactly that measure. Sales Percentage of Total by Category, in Lesson 170, divides each category's sales by a grand total worked out with CALCULATE and ALL, where ALL tells the measure to ignore the category filter so the bottom of the fraction stays the whole. In the report of Lesson 171 it sits beside total profit, margin percentage and total sales for every category, in tabular form with the grand totals switched off. Put an expense heading or a revenue stream where the category stands and the same pattern gives a cost mix, a revenue mix or each department's share of overheads. Because it is a measure, a slicer for year or region recalculates every share for that slice without a single formula rewritten.

Can the data model count invoices rather than invoice lines?

Yes, with DISTINCTCOUNT, and The Complete Excel Course with AI Integration teaches it for exactly that reason. In SalesFusion an order has a row for each product, so a plain count of rows overstates the number of orders; the Orders measure in Lesson 170 counts each order ID once, however many lines it carries. The same lesson then divides total sales by that count for average order value, with DIVIDE guarding against a period with no orders at all. An accountant meets this shape constantly: invoices with several lines, journals with several postings, receipts split across accounts. With these two measures the model tells you how many documents a period holds and their average value, for any region, year or category a slicer picks, which no COUNTIF on a flat sheet gives so cleanly.

What happens when an amount column comes through as text?

The measure fails, and The Complete Excel Course with AI Integration shows you how to find the cause and fix it where it starts. In Lesson 170 the Total Sales measure throws an error; Check Formula, under Manage Measures, traces it to the sales amount column stored as text, the column is set right in Power Query and the measure is rebuilt. Lesson 168 guards the other side: profit is given the Decimal Number type in the fact table, because a whole number type would round every profit figure without a word of warning. For an accountant both lessons carry one message: the numbers in a model are only as sound as the types they arrive with, so the checks belong in the query, before anything is measured, totalled or reported to anyone.

Can a data model hold more ledger detail than a worksheet?

Yes: the model keeps its tables in memory, off the grid, and The Complete Excel Course with AI Integration teaches you to load them that way. Lesson 162 sets the rule: only the final clean output belongs on a sheet, while staging queries stay as connections, so the workbook never bloats with every intermediate step. Lesson 168 builds the fact table from two years of history and a whole folder of period files and keeps it as a connection, and Lesson 169 adds it to the Data Model with its two lookups. A data model is not bound by a worksheet's row limit, which is why a full year of ledger detail suits it better than a sheet does. The lessons use sales transactions; journal lines load the same way, and every report built on them refreshes from the source.

Can I build a management report and dashboard from the data model?

Yes, and The Complete Excel Course with AI Integration builds both in the lessons straight after the measures. Lesson 171 makes a PivotTable from the Data Model with category on the rows and the measures as values, switches grand totals off, shows it in tabular form and puts total profit first, because profit and margin are what readers ask about first, and formats the money measures as amounts. Lesson 172 adds three more PivotTables from the same model, sales by region, a monthly trend with year above sale date and the top ten products by value, then four slicers for category, channel, year and region, connected to all four tables so one click filters the whole page. That is a management pack in miniature: one model, several views, and every figure answering to the same measures.

Will these lessons run on the Mac I use at work?

On a Windows PC all of them run; on a Mac, the Power Query half does. The requirements of The Complete Excel Course with AI Integration name Windows for Power Pivot, and this run needs it: the relationships of Lesson 169 and the measures of Lesson 170 are built in the Power Pivot window, and the report and dashboard that follow read the model those lessons create. Everything before them works on a Mac, from the Power Query lessons that clean the exports and build the fact table to Close and Load with its choice of destinations. So a Mac user can prepare the whole pipeline at home and finish the model on a Windows machine. Once built, the model's PivotTable report refreshes like any other, and the skills carry to any Windows PC you sit down at.

Is DAX hard to learn for someone who lives in SUMIFS?

Far less than its reputation suggests, and The Complete Excel Course with AI Integration keeps it practical. The first measures read almost like worksheet formulas: Total Sales is a SUM of one column, Margin Percentage a DIVIDE of one total by another (Lesson 170). The genuinely new idea is filter context, and SUMIFS users are halfway there already: a measure behaves like a SUMIFS whose criteria are set by the PivotTable's rows and slicers instead of being typed into the formula. CALCULATE with ALL, used for the share of total, is the one step that changes those criteria on purpose, and the lesson shows why it reaches the grand total. Check Formula catches a mistake in a measure before it misleads anyone. The course gives a working foundation rather than every DAX function, and it is the foundation accounting reports stand on.

Can the data model compare budget with actuals?

Yes, with pieces the course hands you, and The Complete Excel Course with AI Integration teaches budget against actuals outright in FinanceGuard: SUMIFS over named budget and actuals tables, variance, percent variance and PivotTables (Lesson 117 to Lesson 120). In SalesFusion, Lesson 173 reshapes a budget export with a column per month into a long table of month and amount, the shape a model needs, and the measures of Lesson 170 show how totals and DIVIDE behave under every filter. A variance measure across a related budget table is not taught as a lesson of its own; with these pieces in hand it is a short step to take on your own data, and the instructor support plan is there for the questions it raises.

Can someone reviewing my report see how each figure in the model is calculated?

Yes, more clearly than in a sheet of scattered formulas, and The Complete Excel Course with AI Integration builds the habits that make it so. Diagram View shows every table and every relationship as a picture, the 1 at the lookup end and the asterisk at the fact end of each line (Lesson 169). Each measure carries a name that says what it is, and Manage Measures lists them in one place, where any formula can be opened and checked (Lesson 170). Behind the model, the Power Query steps that fed it are recorded in order, and a reference query of totals and row counts by month and region proves the data before it arrives (Lesson 161). A reviewer can follow a figure from the PivotTable to its measure, then to its table and back to the source file.

How much of the course stands between me and a working data model?

About 47 minutes on this page, once the Power Query half of SalesFusion is behind you. The Complete Excel Course with AI Integration builds the fact table in Lesson 168, relates it in Lesson 169, measures it in Lesson 170 and reports from it by Lesson 172, so the model itself is a single sitting. The queries that feed it, from importing the first CSV to combining a folder, come before, and if they are new to you they are worth taking first, since the model is built from what they produce. The SalesFusion dataset and the finished workbook come with the course for checking each step. Lifetime access keeps the lessons open for the day you model your own ledger, and completing the course earns a Certificate of Completion with a verification link.

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.