The Complete Excel Course with AI Integration
Power Pivot and DAX for construction managers
A construction manager's cost picture arrives in pieces: the ledger export, the cost code list, the package list, the change order log and a budget set out by month. The Complete Excel Course with AI Integration teaches you to join those pieces in a Power Pivot data model and measure them with DAX on SalesFusion, an industry-standard project. This page picks out the lessons in build order: clean feeds, relationships, measures, a report read from the model and a 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 cost ledger, its cost code list and its package list into the Excel Data Model and relate them one-to-many in Diagram View, with no lookup column filled down a sheet.
- Write DAX measures in Power Pivot for cost to date, margin and each package's share of the job's total cost, with SUM, DIVIDE, CALCULATE and ALL.
- Count each change order or RFI once with DISTINCTCOUNT, however many cost lines or rows it is spread across.
- Build a PivotTable report from the data model in tabular form, with the measures in the order the client meeting asks for them and amounts in a money format.
- Set four model PivotTables on one dashboard page, by package, by trade, month by month and the ten largest cost lines, with slicers that filter all of them at once.
- Feed the model from Power Query with amounts held as true numbers, month fields that sort in calendar order and queries kept as connections.
- Turn a budget or cash flow forecast with a column per month into a long table of month and amount, ready for the data model.
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 on sales files, it is the course's Power Query and Power Pivot system, and its model half maps straight onto a cost workbook: lookup tables related to one fact table, measures for totals, shares, counts and margins, and a dashboard whose slicers drive four PivotTables together. Read product category as package and product as cost code.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
The course's budget against actual dashboard, built with SUMIFS and modern formulas instead of a model: the yardstick for a cost report by package, and the point at which you can judge whether your job needs the formula route or the related tables of SalesFusion.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
The course's PivotTable project on order-level sales, and the groundwork a model report stands on: fields, grouping by date, slicers, PivotCharts and Refresh All, learnt on one table before the same moves are made on related ones.
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 8 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 cost ledger already lives in Excel tables and you have built a PivotTable: SalesFusion shows the finished report there and builds towards it in order. New to PivotTables? Take Lesson 57 to Lesson 65 first, or begin at Lesson 1 if Excel itself is new. Already cleaning exports in Power Query? Go straight to Lesson 169, where the model and its measures begin on Excel for Windows. The course page has free lessons to watch, so you can judge the teaching before a single evening goes into the model.
10 of 186 lessons · 1 h 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system The plan for the whole build: a finished report whose slicers drive a detail sheet, then the messy files it starts from. Power Query gets the data usable and the model makes it answer questions, the same two jobs a cost ledger and its code lists need done before they can report on a package.
- 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 Data types and date fields, the two things a model trips over first: amounts held as text that a measure cannot add up, and months that sort alphabetically unless a month number sits beside them. Set in the query, every cost line reaches the model as a true number with its year, month and month start ready for a monthly trend.
- 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 Close and Load with a choice: a query kept as a connection only, so the staging steps of a cost export never fill a sheet, and the finished table loaded into the Data Model rather than the grid.
- 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 One fact table built from lookups and history, checked for blanks after every merge and held as a connection for the model: the shape a cost ledger should reach before it meets the code and package tables.
- 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 The Power Pivot core, which needs Excel for Windows: the cleaned tables loaded into the Data Model and related one-to-many in Diagram View, then DAX measures from a plain SUM to a share of total with CALCULATE and ALL, a distinct count and ratios with DIVIDE.
- 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 model put to work: a PivotTable report read from the Data Model in tabular form, with the measures in the order a meeting asks for them, then a dashboard of four model PivotTables that answer to the same slicers through Report Connections.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system Unpivot for a grid with a column per month, such as a budget or a cash flow forecast: the wide export becomes a compact table of month and amount, typed as real dates and ready for the data model, and a month added to the grid later cannot break it.
- 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.
Where do Power Pivot and DAX fit in a construction manager's monthly cost reporting, from the ledger export to the client meeting?
Right in the middle: they turn the ledger export and its code lists into one model, and the report for the client meeting reads from that model. The Complete Excel Course with AI Integration from Coding Liquids builds them into SalesFusion, one of its industry-standard projects, which were designed after talking with people from many different industries. Cleaned tables go into the Excel Data Model and are related in Diagram View (Lesson 169); DAX measures then total, share and count them (Lesson 170); a report and a dashboard are built on the model last (Lesson 171, Lesson 172). The practice files hold sales orders with product and region tables, and on site they become the cost ledger with its cost codes and packages. This page's 10 lessons, 1 hour 8 minutes of video, take a construction manager from clean feeds to a dashboard a monthly meeting can be run from, and Power Pivot itself needs Excel for Windows.
What is a relationship in Diagram View, and what does it replace in a cost workbook full of VLOOKUP columns?
A relationship is a link between two tables on a shared code, made once, and it replaces every lookup column you used to fill down. In Lesson 169 of The Complete Excel Course with AI Integration you load three tables into the Data Model, open Diagram View in Power Pivot and drag the region code onto the region table and the product code onto the product table. The line that appears carries a 1 on the lookup side, where each code appears once, and an asterisk on the side of the fact table, where it appears many times: one-to-many. In a cost workbook the ledger is the fact table, and the cost code list and the package list are the lookups. From then on a PivotTable can set a package name beside a cost line's amount with no VLOOKUP dragged down thousands of rows, and no column to break when a new code is opened. That lesson, like the measures after it, needs Excel for Windows.
Which DAX measures would carry a package cost report, and are they the ones the course builds?
Yes, the kinds a cost report leans on are all there, built in Lesson 170 of The Complete Excel Course with AI Integration. A total: the lesson's Total Sales is a SUM, and on your ledger the same measure is cost to date. A margin: Total Profit and Margin Percentage, which a report carrying valuations as well as costs reads as margin by package. A share: the percentage of total by category, written with DIVIDE, CALCULATE and ALL, so each package shows its slice of the whole job however the report is filtered. A count: Orders, a DISTINCTCOUNT that counts each order once, which becomes the number of change orders behind a package. An average completes the set, the average order value with DIVIDE, read on a job as the average value of a variation. Each measure is written once in Power Pivot's measure dialog and recalculates for whatever package, trade or month a slicer picks.
Should a package's cost or margin be a column in the query or a measure in the model?
Use a column for anything worked out row by row and a measure for anything worked out from totals, and The Complete Excel Course with AI Integration teaches both on the same sales data so the difference is plain to see. In Lesson 160 Power Query adds Profit and Margin as columns, calculated on every row, which suits a flag or a figure that one cost line needs. In Lesson 170 Margin Percentage is a DAX measure: it divides total profit by total sales for whatever is on screen, a package, a trade or the whole job. That is the version a cost report wants, because the average of the row margins is not the margin of a package once its lines differ in size. A measure also adds nothing to the table row by row, and DIVIDE returns a blank instead of an error for a package with no value booked yet.
A change order shows up on twenty cost lines: how do I count it once?
With DISTINCTCOUNT, which The Complete Excel Course with AI Integration teaches for exactly this problem. In Lesson 170 an order has a row for every product on it, so a plain count would count the order several times; the Orders measure uses DISTINCTCOUNT on the order number and counts each one once. A cost ledger behaves the same way: one variation is coded to labour, plant, materials and preliminaries, and a count of rows overstates how many there are. A measure that counts distinct change order numbers gives the true figure for every package in the PivotTable, and a status slicer can narrow it to the ones still open. The same measure counts RFIs logged over several rows, or the distinct subcontractors working on a floor. Set it beside total cost and the report answers the two questions a client asks together: how many changes, and what they cost.
Our cost report already runs on SUMIFS: when is a data model worth building instead?
When the tables multiply, and The Complete Excel Course with AI Integration teaches both routes so you can choose on your own job. FinanceGuard, from Lesson 115, builds budget against actual with SUMIFS and modern formulas, and for one budget table and one actuals table that route is quick and clear. A model earns its place once a report draws on a cost ledger, a cost code list, a package list, a change order log and several months or jobs of history. Then every SUMIFS needs lookup columns behind it, while the Data Model relates the tables once (Lesson 169) and a measure written once (Lesson 170) answers for any package, trade or month a slicer picks. A distinct count of change orders under any filter becomes a single DISTINCTCOUNT. Many cost reports end up using both: formulas for the variance sheet, the model for slicing, counting and the monthly trend.
What does a PivotTable built on the data model add to the one I already run on the cost ledger?
It reads several related tables at once and works from measures with names, as the step from one project to the next in The Complete Excel Course with AI Integration shows. In SalesPlusPerformance, from Lesson 57, a PivotTable summarises one table with the sums and counts of Value Field Settings. In SalesFusion the PivotTable is inserted from the Data Model, so fields from every related table and the DAX measures meet in one field list, and Lesson 171 shapes it into a report in tabular form, with grand totals off and the measures in the order a meeting asks for them. Lesson 172 then sets four such PivotTables on one page, by category, by region, a monthly trend and a top ten, with slicers connected to all four through Report Connections. On a job those views read as cost by package, by trade, month by month and the largest cost lines, and one click on a package redraws them all from the same model.
When next month's cost export replaces this one, what has to be redone in the model?
A refresh is all it takes, because The Complete Excel Course with AI Integration builds SalesFusion so that nothing else needs touching. The clean-up lives in Power Query as saved steps that run again on every new file, the idea Lesson 153 sets out; the finished table is held as a connection for the model (Lesson 168); and the relationships and measures sit in the model itself, untouched by new rows (Lesson 169, Lesson 170). Save the new export in place of the old one, refresh, and the dashboard's PivotTables and slicers show the new month. Two habits from the lessons keep the result honest: check the merged table for blanks after a refresh, since a cost code missing from the code list arrives empty, and keep every source file in the project folder, because a moved file breaks the connection. Built once, the model can run the cost report for the life of the job.
Why would a SUM measure refuse a cost column that looks fine on the sheet?
Because the column holds text that only looks like numbers, and The Complete Excel Course with AI Integration shows the fault happening and then the cure. In Lesson 170 the first measure, a SUM of the sales amount, fails; Check Formula in the measure dialog traces the error to a column stored as text, the type is corrected back in Power Query and the measure is written again. Lesson 158 teaches that correction in full: money columns turned from text into decimal numbers, and quantities typed as words replaced and set as whole numbers. Cost exports produce the same fault, from an amount carrying a money symbol or a comma to a cell that reads TBC. Fixed in the query, it stays fixed for every month that follows, and the model receives true numbers. Lesson 168 adds a last guard: profit kept as a decimal, since a whole number type would round every amount without a word.
Months in my cost PivotTables come out April, August, December: will the model put them in order?
Yes: the feed gains the date fields that keep months in calendar order, and The Complete Excel Course with AI Integration adds them in Lesson 159. The lesson clears the entries that are not dates, sets the column to Date rather than Date and Time, then adds year, month name, month number, month start and year-month columns. Its own reason for the month number is the very fault in the question: without one, months sort alphabetically, so April leads and December lands in the middle. A month start date also gives every cost line a clean key for the month it belongs to, the basis of any monthly trend. In Lesson 172 the trend PivotTable sets the year above the date, so a job that runs across a year end shows each year's months in turn. For a construction manager that is the spend line behind each monthly valuation, read from the model instead of rebuilt by hand.
I plan the job on a Mac at home and work on a Windows laptop on site: which of these lessons need Windows?
The Power Pivot lessons do, and they belong on the site laptop. The Complete Excel Course with AI Integration names Windows in its requirements for Power Pivot, so Lesson 169 and Lesson 170, where the tables are related in the Data Model and the DAX measures are written, need Excel for Windows. The requirements set no such condition on the Power Query lessons of this page, from data types and date fields to Close and Load, the fact table and Unpivot: Power Query is part of Excel itself, under Get Data on the Data tab. A workable split for a busy month: shape and check the feeds when it suits you, then relate the tables and write the measures on Windows. Nothing extra needs installing on that laptop either, since the lesson switches the data analysis add-ins on from the Data tab the first time the model is opened.
DAX looks like code: can a construction manager who is at home with SUMIFS write measures from these lessons?
Yes. A measure in The Complete Excel Course with AI Integration is a short, named formula typed into a dialog, and those in Lesson 170 read much like worksheet formulas: a SUM of a column, a DIVIDE of one measure by another, a DISTINCTCOUNT of an order number. The one new idea is that a measure is worked out for whatever the PivotTable or the slicer shows, and CALCULATE with ALL is how the share of total reaches past that filter to the whole job. The lesson builds it step by step, and Check Formula flags a mistake before the measure is used. Your SUMIFS habit helps more than you might expect, since a measure behaves like a SUMIFS whose conditions come from the report around it. The SalesFusion files and a finished workbook come with the course, so every measure you write can be held against a working answer.
Will this carry over if the company moves its project reporting into Power BI?
Yes: the ideas you build in The Complete Excel Course with AI Integration are the ideas Power BI runs on. DAX is the formula language of Power BI as well as of Power Pivot, so the share of total with CALCULATE and ALL, the DISTINCTCOUNT of change orders and the margin with DIVIDE (Lesson 170) are written the same way there. A fact table related to its lookups (Lesson 169) is the same model, and the Power Query steps that clean the feeds come from the same engine; Lesson 154 even names Power BI as a place cleaned data can be loaded. Power BI's own reports and sharing are not taught, because the course is about Excel. What you carry across is the harder half, knowing how a cost model should be shaped and measured, and a change of reporting tool takes none of it away.
If I start now, how much of the model could be running before the next monthly valuation?
All of it, from feed to dashboard, since the whole build sits in 1 hour 8 minutes of lessons and a few evenings cover it. The Complete Excel Course with AI Integration orders the path the way the work runs: the plan (Lesson 153), true types and date fields, connections and a fact table, then the model, the measures, the report and the dashboard by Lesson 172. A sensible first month: rebuild the feed and the relationships on your own cost export and code lists, and add two measures, cost to date and the count of change orders. The share of total, the margin and the four-view dashboard can follow at the next month end. The SalesFusion files and the finished workbook let you check each step against an answer before your own figures are involved. Lifetime access keeps the lessons open for the next job, and completing the course earns a Certificate of Completion.
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 construction managers
- XLOOKUP and VLOOKUP for construction
- Pivot tables for construction managers
- Excel charts for construction managers
- Dashboards for construction managers
- Conditional formatting for construction
- Data cleaning for construction managers
- Data validation for construction
- Excel tables for construction managers
- Text functions for construction managers
- Date functions for construction managers
- Dynamic arrays for construction managers
- Power Query for construction managers
- Macros and VBA for construction managers
- Power Automate for construction managers
- Copilot for construction managers
- ChatGPT for construction managers
- Claude in Excel for construction