The Complete Excel Course with AI Integration
Power Pivot and DAX for logistics coordinators
Loads by carrier, freight per load and on-time share, asked for a new carrier, depot or month each week: a logistics coordinator answers those from a data model, not from lookup columns dragged down thousands of rows. The Complete Excel Course with AI Integration builds that model in Power Pivot on SalesFusion, an industry-standard project, and this page picks out its lessons, from date fields and load flags to relationships, DAX measures 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 shipment table and its carrier and depot lookup tables into the Data Model, then relate them in Power Pivot's Diagram View instead of filling lookup columns down every row.
- Write DAX measures for a carrier review: total freight with SUM, loads counted once with DISTINCTCOUNT, and freight per load and on-time share with DIVIDE.
- Show each carrier's share of all loads or all freight with CALCULATE and ALL, so the share stays true whichever month or depot a slicer picks.
- Prepare the model in Power Query: year, month and year-month fields from the ship date, and conditional columns that mark each load late or on time, heavy or light.
- Prove the figures before the review, with a Group By query that totals loads by month and depot and with Check Formula on a measure that will not calculate.
- Report the measures from the Data Model in a tabular PivotTable, then a dashboard of four connected PivotTables with a Top 10 filter and slicers for carrier, depot, year and mode.
- Keep staging queries as connections only, so just the finished tables enter the model and the workbook stays light.
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 orders, its data model half sets the pattern for carrier work: one table of transactions related to two lookup tables, six DAX measures from a distinct count to a share of the whole, and four PivotTables that answer to the same slicers. Put loads where the orders sit and carriers where the products sit, and every measure reads the same.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built for order-level sales analysis, it trains the PivotTable habits a data model relies on: fields set in rows and values, dates grouped by month, slicers that narrow the view and Refresh All (Lesson 65), so a carrier PivotTable fed from the model feels familiar at 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 10 of them, 1 h 5 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 shipment log already sits in an Excel table and you have built a PivotTable: SalesFusion shows the finished model first, then builds towards it. New to PivotTables? Take Lesson 57 to Lesson 65 before this, or begin at Lesson 1 if Excel itself is new. Already cleaning carrier exports in Power Query? Go straight to Lesson 162, where the choice between connection only, a table and the Data Model begins.
10 of 186 lessons · 1 h 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system The SalesFusion plan seen from its finished end: a business view with slicers whose filter flows through to a detail sheet, Power Query as the engine that replays a clean-up, and the data model as the map of how tables relate. A carrier report built this way stops being rebuilt by hand each week.
- 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 The date fields a model reports by, added in the query: year, month name, month number, month start and year-month, with Date chosen over Date/Time to keep relationships clean. A ship date becomes the month a carrier review groups by, sorted in calendar order rather than alphabetically.
- 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 Row rules and the load into the model: custom and conditional columns that calculate and label each row, a Group By query that totals the data by month and region and counts its rows as a control, and the Close and Load choice of connection only, table or Data Model, with staging queries kept as connections. A load's late or on-time flag belongs here.
- 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 itself: one fact table from merged lookups and appended history, held as a connection; three tables related one-to-many in Diagram View; six DAX measures; a tabular report from the Data Model; and a dashboard of four connected PivotTables under four slicers. The relationships and measures are built in Power Pivot, which needs Excel for Windows.
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Can Power Pivot and DAX give a logistics coordinator loads by carrier, freight per load and on-time share that recalculate for any lane, depot or month, and which course builds that?
Yes. The Complete Excel Course with AI Integration from Coding Liquids builds exactly that kind of model on SalesFusion, an industry-standard project designed after talking with people from many different industries. You load a clean table of transactions and its lookup tables into the Data Model, relate them in Power Pivot (Lesson 169) and write DAX measures (Lesson 170) that return a total, a count that takes each order once, a share of the whole and an average per order for whatever a slicer selects. On a logistics desk those become total freight, loads, each carrier's slice of the spend and freight per load. The 10 lessons on this page, 1 hour 5 minutes of video, take a coordinator from a ship date to a sliced carrier dashboard; the lessons use sales orders, and a shipment log with carrier and depot tables fits the same shape.
What does a shipment data model look like once its tables are related?
A table of loads in the middle with the reference tables around it, and The Complete Excel Course with AI Integration builds that shape in Lesson 169. The lesson loads its main sales table and two lookup tables into the Data Model, opens Diagram View, sets the sales table between the lookups and drags each code onto its match: region code to region code, product ID to product ID. Each line that appears is one-to-many, the 1 at the lookup table, where each code appears once, and the asterisk at the transactions, where it repeats. For a coordinator, loads take the middle, with a carrier table and a depot or lane table each joined by its code. A carrier's name, mode and service level then live in one row of one table, and every measure in the model can be sliced by any of them.
Should carrier names be merged into the shipment rows in Power Query, or related in the model?
Both are taught, and The Complete Excel Course with AI Integration shows where each one pays. A merge, built with a left outer join in Lesson 163, writes the lookup's columns onto every row, which suits a flat table you send on to someone else. A relationship, drawn in Lesson 169, leaves the carrier table whole and separate: each carrier's details sit in one row, a correction is made once, and the shipment table stays lean as the weeks add rows. The lesson's own note puts the gain plainly: relationships replace a VLOOKUP dragged down ten thousand rows. SalesFusion does both, merging names into its fact table in Lesson 168 and then relating that table to its lookups in the model, so you watch each method do its job before choosing one for your own log.
Where does a DAX measure live, if not in a cell of the shipment sheet?
In the data model, and The Complete Excel Course with AI Integration writes every one of them there in Lesson 170. Power Pivot's Measures menu opens New Measure, where you name the measure and type its formula, such as a SUM of the amount column; Manage Measures lists them all for editing, and Check Formula tests one before it is used. A measure never fills a column or sits in a cell: it appears in the PivotTable field list like a field and calculates only for the cells a report shows, once for each carrier, depot or month in view. That is why a model stays light while a sheet of copied formulas grows heavy. So DAX does run in Power Pivot, and the lessons test each measure in a PivotTable built from the Data Model before any report depends on it.
Lists of top DAX functions run long: which ones does a carrier review really need, and where is each taught?
Five, and The Complete Excel Course with AI Integration teaches all of them in Lesson 170, through the six measures it builds. SUM totals a column, so total freight or total weight. DISTINCTCOUNT counts each value once: the lesson counts orders once though each has a row per product, and a load with several drops or pallet lines is counted once the same way. DIVIDE sets one measure over another and returns a blank instead of an error when the bottom is zero, the shape of freight per load and of an on-time share. CALCULATE with ALL steps outside a filter to reach the grand total, so a share of the whole stays right under any slicer. Those carry a carrier review a long way, and the lesson writes, tests and repairs each of them in a working PivotTable before any report leans on it.
Should the late or on-time flag be a column in the query or a DAX measure?
A column in the query for the flag and a measure for the share, and The Complete Excel Course with AI Integration teaches both halves. Whether one load was late is a fact about that row, so it belongs in Power Query, where Lesson 160 adds custom and conditional columns: the lesson labels each sale High or Normal by its value and marks returns, and a late or on-time label is built the same way from your delivery and promised dates. Logic set in the query runs identically on every refresh, so two reports can never disagree about one load. The share on time changes with every carrier, depot or month a slicer picks, so it belongs in a measure: held as 1 or 0, the flag is totalled with SUM and set over all loads with DIVIDE, as Lesson 170 builds margin percentage.
Can each carrier's share of all loads stay right whichever month the slicer picks?
Yes, and that is the measure where DAX earns its keep. In The Complete Excel Course with AI Integration, Lesson 170 builds a share of the total by category with DIVIDE, CALCULATE and ALL: the top of the fraction follows the row the PivotTable is showing, while ALL inside CALCULATE sets the category filter aside so the bottom stays the grand total. Swap category for carrier and each carrier's line shows its share of the loads or of the freight, while a slicer on month or depot still narrows both halves together, so the shares for the chosen week add up to the whole. A plain PivotTable can show a share too, but a measure is formatted once, named in plain words and reused in every report the model feeds, which is what a weekly carrier pack needs.
A carrier moved nothing this week: will freight per load show #DIV/0! on the report?
A blank cell, not an error: The Complete Excel Course with AI Integration builds its ratios with DIVIDE, which is made for exactly that case. In Lesson 170 margin percentage and average order value are both DIVIDE measures, and the lesson's quiz makes the point: when the bottom of the fraction is zero, DIVIDE returns a blank rather than an error. On a carrier report that means a carrier with no loads in the chosen week simply shows an empty cell, and the PivotTable stays clean for the transport manager. The same care runs through the query side, where Lesson 160 writes its margin column to give a null when the amount is empty or zero. Worksheet formulas get their own guard, IFERROR, in Lesson 12, but inside the model DIVIDE does the job by itself.
The export carries only a ship date: how does the model report loads by month, in calendar order?
Through date fields added in the query, and The Complete Excel Course with AI Integration adds them in Lesson 159. From one date column the lesson builds five: year, month name, month number, month start and year-month, after clearing placeholders such as n/a and an impossible date that would break the conversion. The month number is what keeps months in calendar order instead of April, August, December, and choosing Date over Date/Time drops the time of day, saves memory and keeps relationships cleaner. In the dashboard of Lesson 172 the year sits above the date in a monthly trend PivotTable, so loads by month read across the year. A delivery date takes the same treatment. Modelling ship and delivery dates against one shared calendar table is not covered; a set of fields per date in the shipment table does the reporting.
Before the model's figures reach the carrier review, how do I know each measure adds up the right thing?
Three checks, each taught in The Complete Excel Course with AI Integration. First, a control figure: Lesson 161 builds a Group By query that totals the data and counts its rows for every month and region, biggest first, so the model's totals can be held against a figure you trust, such as what the TMS or a carrier's statement shows for the week. Second, the measure itself: in Lesson 170 a measure fails, Check Formula traces the fault to an amount column stored as text, the type is fixed in Power Query and the measure rebuilt. Third, the joins: after merges and appends, Lesson 168 checks the key columns for nulls, since a row that loses its carrier code drops out of every carrier's line. A model checked that way can go in front of a carrier.
Can four views of the week, by carrier, by depot, by month and the busiest lanes, share one set of slicers?
Yes, and The Complete Excel Course with AI Integration builds that very page in Lesson 172. Beside the category report, three more PivotTables are drawn from the Data Model: one by region, a month-by-month trend with the year set above the date, and a Top 10 list cut down with a Value Filter, each given its heading with Format Painter. Every slicer is then wired to every PivotTable on the sheet through Report Connections, so a single click narrows all four at once, and one matching style ties slicers and tables together. Read for a logistics desk, that is freight by carrier, loads by depot, the monthly pattern and the ten busiest lanes, narrowed together by mode or year. Since every view reads the same measures, no figure on the page can disagree with another.
Will the DAX learnt here still be useful if our reporting moves to Power BI?
Yes: DAX is the formula language of Power BI's data models as well as Power Pivot's, so the measures you write in The Complete Excel Course with AI Integration are the same kind you would write there. The lessons build them in Excel, where a coordinator's data already sits: relationships in Lesson 169, and SUM, DISTINCTCOUNT, DIVIDE and CALCULATE with ALL in Lesson 170, each tested in a PivotTable. The thinking carries over intact: a fact table of loads related to lookup tables, row flags kept in the query, totals and ratios kept in measures. Power BI itself is not taught, and nothing here depends on it; the course's introduction to Power Query notes that cleaned data can load into Excel or Power BI (Lesson 154), so the clean-up skills travel with you as well.
Does building the model need Windows, and what should I know before these lessons?
For the model itself, Excel for Windows: the course's requirements name Power Pivot as needing it, so Lesson 169 and Lesson 170, where the relationships and measures are made, are Windows lessons, and the report and dashboard built on that model follow from them. The Power Query lessons before them are not marked that way. As for knowledge, The Complete Excel Course with AI Integration assumes you can keep data in an Excel table and build a PivotTable: Lesson 19 teaches tables, and Lesson 57 onwards the PivotTables, with fields, date grouping, slicers and refresh. No coding is needed. A measure is a short formula typed into a dialog, and anyone who writes SUMIFS on a shipment log will find SUM and DIVIDE familiar from the very first measure.
I have never written DAX: how soon could the Monday carrier review run off a model I built?
About 1 hour 5 minutes of lessons, and the model is working before the last of them. In The Complete Excel Course with AI Integration the date fields and load flags come first, the Close and Load choices follow in Lesson 162, and by the end of Lesson 170 three tables sit in the Data Model, related, with six measures calculating in a PivotTable. Rebuild that on your own shipment, carrier and depot tables and a carrier review can come straight from the model; the report and dashboard lessons then make it presentable. The SalesFusion files and the finished workbook come with the course, so each step can be compared with a working answer, and with lifetime access the lessons stay open for the next measure you need. Finish the whole course and a Certificate of Completion, verifiable from its own link, goes on your record beside the model you built.
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 logistics coordinators
- Lookups for logistics coordinators
- PivotTables for logistics coordinators
- Charts for logistics coordinators
- Dashboards for logistics coordinators
- Conditional formatting for logistics
- Data cleaning for logistics coordinators
- Data validation for logistics
- Excel tables for logistics coordinators
- Text functions for logistics
- Date functions for logistics
- Dynamic arrays for logistics
- Power Query for logistics
- Excel macros and VBA for logistics
- Power Automate for logistics
- Copilot in Excel for logistics
- ChatGPT for Excel for logistics
- Claude in Excel for logistics