The Complete Excel Course with AI Integration
Power Pivot and DAX for credit controllers
For credit controllers who rebuild the month-end pack by hand: lookup columns dragged down a fresh export, SUMIFS grids retyped, totals checked twice. The Complete Excel Course with AI Integration moves that pack onto a Power Pivot data model in SalesFusion, an industry-standard project, and this page picks out the lessons that get it there: true numbers and dates, control totals, the load, relationships, DAX measures, a report and a sliced dashboard.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load a cleaned ledger export and a customer table into the Excel Data Model with Close and Load, keeping the working queries as connections so the workbook stays light.
- Relate invoices to a customer table in Power Pivot's Diagram View, so every credit limit, payment term and collector reaches each invoice without a lookup column.
- Write DAX measures for the open balance, the number of open invoices and each customer's share of the ledger, with SUM, DISTINCTCOUNT, CALCULATE with ALL, and DIVIDE.
- Trace a measure that will not total back to an amount column held as text, and fix the data type once in Power Query so the fault never returns.
- Lay out a debtors report from the data model in tabular form, with the measures the finance director reads first and a money format on every total.
- Run a debtors dashboard of PivotTables from one model, with slicers for collector, region or year wired to every table through Report Connections.
- Give every invoice its month, month number and year-month in the query, so the overdue book trends by month in calendar order rather than alphabetically.
- Turn an aged debt export with a column per bucket into rows with Unpivot Other Columns, so one measure totals any bucket and a slicer can pick it.
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.
Built in the course on messy sales exports, its second half is the frame of a credit pack: one fact table related to two lookup tables, measures written in DAX and four PivotTables under shared slicers. Put open invoices where the sales rows sit and a customer table where the lookups sit, and each step holds.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
A PivotTable project on order-level sales, it builds the habits every model report runs on: Value Field Settings, dates grouped by month, slicers and Refresh All, each working the same way when the PivotTable is drawn from the Data Model and the rows are invoices.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built on employee records, it teaches the XLOOKUP and INDEX MATCH formulas that carry limits and terms onto a ledger today, and so shows what a relationship saves: one line drawn in Diagram View in place of a lookup column refilled with every export.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 1 h 19 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 your ledger already sits in Excel tables and you build PivotTables on it: SalesFusion shows the finished report first, then builds towards it. New to PivotTables? Take Lesson 57 to Lesson 65 before this path, and if Excel itself is new, begin at Lesson 1. If your queries already feed the Data Model, go straight to Lesson 169, where the relationships are drawn and the first DAX measures written.
12 of 186 lessons · 1 h 19 min
15 SalesFusion: advanced data tools and a Power Query modelling system The goal before the build: the finished SalesFusion report, where one slicer click narrows the business view and the linked detail sheet follows it, then the route from messy exports to related tables and measures. The files are sales exports; a debtors ledger export travels the same route.
- 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 What a measure needs from an export: money columns turned from text into decimal numbers, words in number columns replaced, and dates made real, with year, month name, month number, month start and year-month columns, so totals add up and months sort in calendar order rather than alphabetically.
- 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 Rules and checks before the model: custom and conditional columns, one of them labelling negative amounts apart (on a ledger, credit notes and cash not yet allocated), a Group By query that totals by month and region and counts the rows for a tie-back to the control account, and Close and Load choices that send finished tables to the Data Model.
- 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 and its reports, with the Power Pivot lessons needing Excel for Windows: a fact table built from merges and history and checked for blanks, three tables related in Diagram View, measures with SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, a tabular report, a dashboard of four PivotTables and four slicers joined by Report Connections, and Unpivot for a grid with a column per period.
- 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
- 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.
Power Pivot and DAX for credit controllers: what would they change in my debtors reporting, and where can I learn them with worked examples?
They turn the month-end pack from a rebuild into a refresh, and The Complete Excel Course with AI Integration from Coding Liquids teaches both on SalesFusion, an industry-standard project designed after talking with people from many different industries. Power Pivot keeps the ledger and a customer table side by side as related tables, so credit limits, terms and collectors reach every invoice without a lookup column (Lesson 169). DAX measures then total the open balance, count each invoice once and give every customer's share of the debt, recalculating for whichever collector, region or month you click (Lesson 170). This page picks out the 12 lessons a credit controller needs for it, 1 hour 19 minutes in all, from an export with amounts held as text to a formatted report and a dashboard of linked PivotTables, each one built by you on the course's files with the finished workbook to compare.
What does a data model give a debtors ledger that one long sheet of formulas cannot?
Tables that know how they connect. On a sheet, a credit limit, a payment term or a collector's name usually reaches the ledger through an XLOOKUP column copied down each new export. In The Complete Excel Course with AI Integration, Lesson 169 loads three tables into the Data Model and draws two one-to-many relationships in Diagram View: the 1 marks the lookup table, where each code appears once, and the asterisk the table where it repeats. For credit control that means a customer table with one row per account, holding its limit, terms, region and collector, related to the invoices by customer code. Any PivotTable built on the model can then put collectors down the side and balances in the values with no lookup formula anywhere, and a limit changed in the customer table reaches every report at the next refresh.
Should the cleaning of the ledger and its totals sit in Power Query or in DAX?
Each takes half, and The Complete Excel Course with AI Integration teaches the halves in the order they run. Power Query works on rows before they reach the model: money columns turned from text into numbers (Lesson 158), dates made real with month columns added (Lesson 159), labels set by conditional columns (Lesson 160) and one fact table built from merges and history (Lesson 168). DAX works on the finished model: a measure recalculates for every filter and slicer around it, so one measure answers for any customer, region or month (Lesson 170). The course sums it up in a line that fits a ledger well: Power Query cleans the data and Power Pivot connects it. Fix a fault once in the query, keep the measures for the sums and ratios the report reads, and neither has to be done again next month.
Out of hundreds of DAX functions, which ones will my debtors report actually use?
Five do most of the work, and The Complete Excel Course with AI Integration puts all five into measures in Lesson 170. SUM totals a column: the sales amount in the lesson, the open balance in your model. DISTINCTCOUNT counts each order once although it has a row per product, which is how an invoice spread over several lines, or a customer with many invoices, is counted once. CALCULATE with ALL steps outside the category filter to reach the grand total, the core of any percent-of-total figure, such as each customer's share of the debt. DIVIDE returns a blank instead of an error when it would divide by zero, and the lesson uses it for margin and average order value. Monthly views come from the month columns the query adds in Lesson 159 rather than from a separate date table, and the same functions run in Power BI, which speaks DAX too.
Can one measure give each collector their own overdue figures, without a copy of the report per person?
Yes, because that is what a measure does. Every measure written in Lesson 170 of The Complete Excel Course with AI Integration recalculates for each filter and slicer around it, so the same measure shows one figure for the whole ledger and another for one collector, region or month, with nothing copied. Lesson 172 then builds a dashboard of four PivotTables from the Data Model, adds slicers, and uses Report Connections to tie each slicer to all four tables, so one click filters every view at once. The lesson's slicers are category, channel, year and region; on your model they become collector, region, ageing bucket and customer group. Each collector opens the same workbook, clicks their own name and sees their own book; the finance director clears the slicer and sees all of it.
Can the model tell me how many customers owe money, not just how many lines the export holds?
Yes: DISTINCTCOUNT does it, and The Complete Excel Course with AI Integration teaches it on the very same problem. In Lesson 170 the sales table holds a row for each product on an order, so a count of rows overstates the orders; the Orders measure applies DISTINCTCOUNT to the order ID and counts each order once. A debtors ledger has that shape twice over: one invoice can arrive as several lines, and one customer holds many invoices. A distinct count of invoice numbers gives the true number of open invoices, and a distinct count of customer codes the number of accounts carrying a balance, for whatever region or collector a slicer picks. Set beside the open balance in one PivotTable, the counts show at once whether a region's debt sits with a handful of large accounts or spreads thinly across many.
How concentrated is our debt: can a measure give each customer's share of the whole ledger?
Yes, through the percent-of-total measure that The Complete Excel Course with AI Integration writes in Lesson 170. Its Sales Percentage of Total by Category divides each category's sales by the grand total, with CALCULATE and ALL stepping past the category filter and DIVIDE keeping the result clean. Aim the same pattern at customers and every account shows its share of the ledger, the concentration figure a credit committee looks for. Lesson 172 supplies the other half: a Value Filter keeps a PivotTable to its Top 10 rows, so the largest debtors, each with its share beside its balance, stand on the dashboard and reorder themselves as balances move. Read together, the two show how much of the ledger rides on a few names, and the report answers that question before anyone has to ask it.
Can the model set each customer's balance against their credit limit?
Yes: a relationship brings the limit in and a single DIVIDE measure does the rest. In The Complete Excel Course with AI Integration, Lesson 169 relates the sales table to its lookup tables in Diagram View, and a customer table holding each account's credit limit joins your invoices in exactly that way. Lesson 170 builds Margin Percentage with DIVIDE, one figure over another; a limit-used measure has the same shape, the open balance over the credit limit, shown per customer as a percentage. DIVIDE returns a blank where the divisor is zero, so an account with no limit set shows an empty cell instead of a #DIV/0! error. Sort that column largest first, or filter it from a slicer, and the accounts nearest their limit lead the page, ready for the calls that decide who goes on stop.
My first measure came back with an error on the balance column: what usually goes wrong?
Usually the amounts are text, and The Complete Excel Course with AI Integration works through exactly that fault. In Lesson 170 the first measure, a SUM of the sales amount, fails; Manage Measures and Check Formula trace the trouble to the amount column held as text, the type is corrected in Power Query, and the measure is rebuilt. Ledger exports have the same habits: commas and money symbols inside balances, a dash for nil, a word where a figure should be. Lesson 158 is the cure at the source, turning money columns from text into decimal numbers and replacing words in number columns, and Lesson 168 adds a warning worth keeping: a whole number type would quietly round every amount. Set the type once in the query and every refresh afterwards hands the measures numbers they can add.
Will the model take next week's ledger export without being rebuilt?
Yes, provided the new export comes in through the query that read the old one. In The Complete Excel Course with AI Integration the model never holds pasted data: Lesson 168 builds the fact table from queries and keeps it as a connection, and Lesson 169 loads it into the Data Model, so a refresh reruns every cleaning step on whatever file the query reads and then recalculates each measure and PivotTable built on top. Save this week's export over last week's and refresh, and the debtors report is current; save the weekly files into one folder instead, and the From Folder query of Lesson 166 stacks them all, the newest included. The relationships, measures, slicers and formatting built once stay exactly where they are.
What does the month-end debtors pack look like when it comes out of the model?
Two finished pieces, and The Complete Excel Course with AI Integration builds both. Lesson 171 turns a test PivotTable into a report: categories on the rows, two measures taken out to keep it focused, grand totals switched off, tabular form so each field gets its own column, the measures ordered the way readers ask about them and a money format on the totals. On a ledger, that is customers down the side with balance, share of the ledger and invoice count across. Lesson 172 adds the dashboard: three more PivotTables from the Data Model, for region, the monthly trend and a Top 10 list, headings copied with Format Painter, four slicers wired by Report Connections and one style throughout. It is all Excel, needs no other software, and goes to the finance director as an ordinary workbook.
My Excel shows no Power Pivot tab: is there an add-in to download first?
Power Pivot is already part of Excel for Windows, and The Complete Excel Course with AI Integration switches it on in the lesson that first needs it. In Lesson 169 the Data Model button on the Data tab opens Manage Data Model, Excel offers to enable the data analysis add-ins, and from then on the Power Pivot window and its Diagram View are there to use. The course's requirements name Windows for the Power Pivot lessons, so the model, the measures and the dashboard need Excel on a Windows PC; Excel for Mac has no Power Pivot. The lessons of this path that come before the model are Power Query work, which the requirements do not tie to Windows, so the preparation of your export can start on whichever machine is at hand.
Microsoft documents every DAX function for free: what does the course add for someone with a ledger to run?
A working model built end to end, which a function reference cannot give you. A reference tells you what DIVIDE returns; The Complete Excel Course with AI Integration has you build the model it sits in: a messy export typed and dated in Power Query, a fact table checked for blanks, three tables related in Diagram View, measures tested with Check Formula and a dashboard of linked PivotTables, in lessons that follow one another from Lesson 153 to Lesson 172. SalesFusion comes with its dataset and the finished workbook, so every step can be held against an answer that works, and the same order of work fits your ledger and customer table. With the instructor support plan, a question about your own model gets a written answer from the instructor, and finishing the course earns a Certificate of Completion an employer can verify.
How soon could my own debtors report be running from a data model?
Within 1 hour 19 minutes of lessons, and the first measure on your own ledger can come well before the end. In The Complete Excel Course with AI Integration the preparation runs from data types to Close and Load, and by Lesson 169 your invoices and customer table can sit related in the Data Model. Lesson 170 writes the measures: rebuild the open balance and the invoice count on your own export the same day, and the core of a debtors report exists. The formatted report and the sliced dashboard follow in Lesson 171 and Lesson 172. Lifetime access keeps every lesson open for the export that one day arrives in a new shape, and the SalesFusion files stay with you to rehearse a step before it touches live figures.
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 credit controllers
- Lookups for credit controllers
- PivotTables for credit controllers
- Excel charts for credit controllers
- Dashboards for credit controllers
- Conditional formatting in credit control
- Data cleaning for credit controllers
- Data validation for credit controllers
- Excel tables for credit controllers
- Text functions for credit controllers
- Date functions for credit controllers
- Dynamic arrays for credit controllers
- Power Query for credit controllers
- Macros and VBA for credit controllers
- Power Automate for credit controllers
- Copilot in Excel for credit controllers
- ChatGPT for credit controllers
- Claude in Excel for credit controllers
Power Pivot and DAX for other jobs
- Power Pivot and DAX for auditors
- Power Pivot and DAX for payroll admins
- Power Pivot and DAX for bankers
- Power Pivot & DAX in management accounts
- Power Pivot and DAX for controllers
- Power Pivot and DAX for AP clerks
- Power Pivot and DAX for planners
- Power Pivot and DAX for underwriters
- Power Pivot and DAX for every job