The Complete Excel Course with AI Integration
Power Pivot and DAX for civil engineers in Excel
Cost lines, daily returns and quantity records grow every week until a workbook of lookups and SUMIFS grids slows to a crawl. The Complete Excel Course with AI Integration answers that on SalesFusion, an industry-standard project: tables related in a Power Pivot data model, DAX measures that recalculate at every slicer click and a dashboard of linked PivotTables. This page picks out those lessons, with the Power Query steps that hand a model clean tables.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load an activity list, a cost code list and a growing table of daily returns into one Power Pivot data model, with working queries kept as connections so the workbook stays light.
- Relate each table of records to its lists in Diagram View, one code to many rows, so an activity's trade, zone or description reaches every return without a lookup column filled down.
- Write DAX measures for total cost and quantity, a share of the job with CALCULATE and ALL, and a DISTINCTCOUNT that counts each delivery ticket once, however many lines it holds.
- Build ratio measures with DIVIDE, such as cost per unit placed, that show a blank instead of an error for a week when nothing was placed.
- Decide which figures belong in Power Query as columns and which in DAX as measures, and prove a model's totals against a Group By check before a report goes out.
- Give every record a year, a month name, a month number and a month start, so a model report sorts its months in calendar order and slices by period.
- Report from the model in a tabular PivotTable and on a dashboard of four PivotTables that every slicer filters together through Report Connections.
- Unpivot a programme or cost plan export with a column per month into a long table of period 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 as a sales reporting system, its closing lessons assemble the model a site report needs: one fact table of transactions between two lookup tables, six DAX measures and four PivotTables that a single slicer click filters together. Put cost, quantity or daily-return tables in the same places and the design holds.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales data, it drills the PivotTable skills a model report rests on: fields and Value Field Settings, dates grouped by month, slicers and refreshing, the same controls you use once a PivotTable reads from the data model instead of a sheet.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built as the budget against actual dashboard of a finance team, it shows the formula side of cost control: SUMIFS totals, variance and percent variance, colour-coded number formats and slicers. Set beside SalesFusion, the pair let you judge when a cost report is fine on formulas and when its tables call for a model.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 18 of them, 1 h 39 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 PivotTables are already part of your week. The SalesFusion lessons on this page run from clean tables to the model, and the Power Query lessons between them build the queries it loads, so watch those too if you build along. New to PivotTables? Take Lesson 57 to Lesson 59 first, or begin at Lesson 1 if Excel itself is new. Already cleaning site data in Power Query? Go straight to Lesson 168, where the fact table and the model begin, on a Windows PC.
18 of 186 lessons · 1 h 39 min
07 PivotTables and PivotCharts: data analysis made easy The PivotTable controls a model report is driven by: fields and Value Field Settings, totals by category with dates grouped by month, slicers, PivotCharts, report layouts and styles, and a refresh after the data changes. Learnt here on one sales table, each works the same way on a PivotTable drawn from the data model.
- 60 PivotTable fields in Excel Rows, values, columns and Value Field Settings 2 min
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
- 62 Slicers in Excel Filter PivotTables with clickable buttons 3 min
- 63 PivotCharts in Excel Create interactive charts from a PivotTable 5 min
- 64 PivotTable design Tab Report layouts, PivotTable styles and number formats 5 min
- 65 Refresh a PivotTable in Excel Update pivots when source data changes 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system The finished SalesFusion report seen first, where filtering one view updates a linked detail sheet, and the data model introduced as the map of how the tables relate. Keep every source file in a single project folder, the lesson warns, or the connections break: a habit worth keeping for every site's files.
- 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 model needs from its tables, set in Power Query: true data types, since a measure cannot total figures held as text; year, month name, month number and month start columns so periods sort and slice properly; custom and conditional columns for rules that belong to each row; a Group By query that totals the data as a check; and Close and Load as a connection or straight into the Data Model.
- 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
- 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 heart of this page, and these Power Pivot lessons need Excel for Windows: a fact table built from its lookups and history, loaded with them into the Data Model and related in Diagram View; six DAX measures, from a plain SUM to CALCULATE with ALL, DISTINCTCOUNT and DIVIDE; a tabular report led by profit; and a dashboard of four PivotTables and four slicers joined by Report Connections.
- 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
15 SalesFusion: advanced data tools and a Power Query modelling system Unpivot for the month-per-column grids that programmes and cost plans come in: a wide budget and targets export turned into rows of period and amount, then into a compact monthly table for the data model, by steps that name no month, so a new month column cannot break them.
- 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.
How can a civil engineer learn Power Pivot and DAX for cost and progress reports?
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. You load a fact table and two lookup tables into a Power Pivot data model and relate them in Diagram View (Lesson 169), write DAX measures for totals, shares of the total, distinct counts and ratios (Lesson 170), then report through a tabular PivotTable and a dashboard of four PivotTables that one slicer click filters together (Lesson 172). Around that core, this page gathers the Power Query steps that hand a model clean, typed tables and the PivotTable controls a model report runs on, 18 lessons that fit into 1 hour 39 minutes of video. The lessons model sales transactions; the same design carries a cost report, a register of daily labour and plant returns or quantities placed against an activity list, because a model cares about codes and figures, not what they describe.
What will I have built by the end, and could it become the template for each new project?
A complete reporting workbook, and yes, it is made to be reused. By the close of the SalesFusion lessons on this page, The Complete Excel Course with AI Integration has you holding clean queries kept as connections, one master fact table, a data model with two one-to-many relationships, six DAX measures, a tabular report by category and an interactive dashboard of four PivotTables and four slicers, plus a budget grid reshaped for the model. The finished workbook comes with the course to check yours against. For a new project the design stays and the sources change: Lesson 153 asks for every source file to sit in a single project folder so the connections hold, and Lesson 164 points a whole pipeline at a new file by changing nothing but its source step. Pour in the next project's cost lines, returns and activity list, refresh, and the measures and slicers are ready from the first week.
My cost report is a chain of VLOOKUPs and SUMIFS that slows the whole file: what does Power Pivot change?
It swaps both for parts you define once. In The Complete Excel Course with AI Integration, a relationship drawn in Diagram View does the work of a lookup column: each code's description reaches every row through the link, and Lesson 169 sets that against a VLOOKUP dragged down thousands of rows. A DAX measure does the work of a grid of SUMIFS: written once in Lesson 170, it returns the right figure in every cell of any PivotTable, by trade, by month or by zone, and recalculates for each filter and slicer. The data itself stays out of the grid: Lesson 162 keeps working queries as connections and loads only the finished output, the golden rule against a slow, bloated workbook, and Lesson 159 stores dates without their times, which saves memory and keeps relationships cleaner. Keep formulas for the quantity sheet in front of you; hand the growing record tables to the model.
Can I write DAX inside Power Pivot when I know SUMIFS but have never coded?
Yes: DAX is Power Pivot's own formula language, and it reads much like the Excel you already write. The Complete Excel Course with AI Integration writes every measure in the Power Pivot window through New Measure (Lesson 170). The first is a plain SUM of the sales column; then come a profit total, a distinct count of orders, and a margin and an average per order built with DIVIDE, which gives a blank instead of an error when the bottom figure is zero. The idea to get used to is that a measure is worked out afresh for whatever each cell of a PivotTable shows, and CALCULATE with ALL lifts the category filter to reach the grand total for a percentage of the whole. When a measure fails, Manage Measures and Check Formula trace the fault, in the lesson a sales column stored as text. If you already think in SUMIFS criteria, the step is short: a slicer simply supplies the criteria.
Does cost per cubic metre belong in a Power Query column or a DAX measure?
In a measure, and SalesFusion in The Complete Excel Course with AI Integration shows why by using both tools side by side. Row-level facts belong in Power Query: Lesson 160 adds Profit, a margin per row, a High or Normal label and a Return or Sale label as columns, worked out once at every refresh. Figures that must hold at any level of a report belong in DAX: Lesson 170 writes Margin Percentage as a measure, so a PivotTable shows the right margin for one category, one month or the whole year. A rate for a whole trade behaves the same way: total cost divided by total volume, which is not the average of every line's rate, so it goes in a measure. A line's own cost from quantity times rate, or a label for items above a value you set, stays in the query. Lesson 161 then totals the data with Group By, a figure your measures should match.
Which DAX measures does the course build, and what would they be on my project data?
Six, and each has a twin in project reporting. The Complete Excel Course with AI Integration writes them in Lesson 170. Total Sales, a SUM, becomes total cost or total quantity placed, and Total Profit stands beside it. Sales Percentage of Total by Category, built with DIVIDE, CALCULATE and ALL, becomes each trade's or cost code's share of the whole job. Orders, a DISTINCTCOUNT, counts each order once although an order has a row per product: exactly what a delivery ticket with several lines needs, or an inspection logged against several elements. Margin Percentage and AOV, both built with DIVIDE, become rates such as cost per unit placed or the average load per delivery, blank rather than an error where nothing was delivered. Lesson 171 then sets the measures out as a tabular report by category, profit first, because that is what the people reading a report ask about first.
Can the model link our activity list, cost codes and daily returns through a shared code?
Yes, through relationships, which The Complete Excel Course with AI Integration draws by hand. In Lesson 169 three tables go into the Data Model, the sales table and its product and region lists, and in Diagram View you drag the region code onto the region list's code and the product ID onto the product list's. Each line that appears is one-to-many: the 1 marks the list, where every code stands once, and the asterisk the records, where it repeats. The lessons use region and product codes; an activity code, a cost code or a material reference links the same way, provided its list holds each code once. Daily returns, delivery tickets and inspection records then carry only a code and their figures, while the description, trade, unit or zone is kept once in the list. Settle on one spelling of each code first: SalesFusion strips hyphens from its product codes in Power Query (Lesson 157), since a code written with a hyphen in one file and without it in another never meets its partner.
Can one slicer filter every PivotTable on a project dashboard?
Yes, and The Complete Excel Course with AI Integration builds exactly that in Lesson 172. Beside the category report, three more PivotTables come from the Data Model: sales by region, a monthly trend with the year above the sale date, and the best-selling products through a Top 10 value filter. Slicers for category, channel, year and region name are then wired to all four through Report Connections, so a single click narrows the whole page, and matching slicer and PivotTable styles give it one look. On a project the same page could show cost by trade, quantity placed by month, the costliest activities and plant use by subcontractor, with slicers for zone, trade and month. Because every PivotTable reads the same measures from one model, the figures agree with each other whichever slicer is pressed: the quality a dashboard needs before it goes in front of a project manager or a client.
Will the model cope with the messy exports our site systems produce?
Yes, once Power Query cleans them on the way in, and The Complete Excel Course with AI Integration shows why that order matters. In Lesson 170 the first measure fails, and Check Formula traces the fault to a sales amount stored as text: the fix is made in Power Query, where the column becomes a true number, and the measure is rebuilt. Lesson 158 is where those types are set, money columns made decimals and quantities written as words replaced before they become whole numbers, because text cannot be summed and a report built on it looks fine while calculating wrong. Lesson 159 turns dates into real dates, clearing placeholders and an impossible date first. Plant logs, survey exports and supplier schedules bring the same faults, and once fixed in the query they stay fixed at every refresh, so the model's measures read true figures week after week.
Do I need Windows, and do I have to download Power Pivot?
Windows, yes; a download, no. The requirements of The Complete Excel Course with AI Integration name Windows for Power Pivot, so the model lessons on this page, Lesson 169 to Lesson 172, need Excel for Windows. Power Pivot is already inside it: the lesson clicks the Data Model icon on the Data tab, chooses Manage Data Model and switches on the data analysis add-ins when Excel asks, and the Power Pivot window opens, with no installer and no separate file. The course's requirements name only the Power Pivot and Power Automate sections, so nothing else on this page asks for Windows: the PivotTable lessons, the Power Query steps and Unpivot can be followed on either. If your site laptop is a Mac, plan the model lessons for a Windows machine, in the office or at home, and follow everything before them wherever you are.
Is the DAX in Excel the same DAX that Power BI uses?
Yes, the same formula language, so what you learn in The Complete Excel Course with AI Integration travels, though every lesson stays inside Excel. The functions this page teaches, SUM, CALCULATE, ALL, DISTINCTCOUNT and DIVIDE (Lesson 170), and the shape behind them, tables cleaned in Power Query and related one-to-many on their codes (Lesson 169), are how Power BI models work too. Power BI itself, its report canvas and its publishing, is not taught. A project report often needs nothing more than Excel: a model there answers cost and progress questions inside a workbook everyone on the job can already open, with slicers on a dashboard (Lesson 172). Should your firm move its reporting later, you arrive knowing why a measure beats a stored column for a ratio and which way a relationship should run, and only the screens are new.
Can I build budget against actual cost reporting, or earned value, with what the course teaches?
Yes for budget against actual, from two directions, and The Complete Excel Course with AI Integration teaches both. FinanceGuard builds the report with formulas: budget and actual tables, SUMIFS, variance and percent variance, colour-coded number formats, PivotTables and slicers (Lesson 115 onwards). SalesFusion supplies the model route: Unpivot turns a budget export with a column per month into a long table of period and amount, ready for the data model and unbroken when a new month column arrives (Lesson 173), and DIVIDE measures set one total against another without an error for an empty period (Lesson 170). Earned value is not taught as a method, though its indices are ratios of totals: a cost performance index is earned value over actual cost, one more DIVIDE measure once both figures sit in your model. The course supplies the machinery; your cost codes and baseline supply the meaning.
How soon could I rebuild our weekly site cost report on a data model?
Within about 1 hour 39 minutes of lessons, and the model takes shape well before the last of them. In The Complete Excel Course with AI Integration the tables are typed, dated, checked and loaded by Lesson 162, related in the Power Pivot window at Lesson 169, measured at Lesson 170 and on a dashboard by Lesson 172. Rebuild each step on your own cost lines and activity list as you go, and the weekly report turns into a refresh and a few slicer clicks instead of an afternoon of copying and checking. The finished SalesFusion workbook comes with the course, so a relationship or a measure that misbehaves can be set beside a working one. Lifetime access keeps every lesson open for the next report you move across, and completing the whole course brings a Certificate of Completion, with a link anyone can use to verify it.
Could Copilot build my labour-hours PivotTable instead of a data model?
Copilot can draft a quick one from a single clean sheet, and The Complete Excel Course with AI Integration shows how: in Lesson 92 it builds a PivotTable of revenue by region and month from a prompt, with no field dragged, and Lesson 99 supplies the checklist for testing what it made. Copilot works where your Microsoft 365 includes it. A data model meets a different need. Its relationships and measures are set once and give identical figures every week, across several tables, at every slicer click, while a prompt's answer is a one-off that needs checking each time. ChatGPT works in its own window on a file you upload or a table you paste, and its result returns to the workbook by hand. Let an assistant plan the report, which Lesson 100 does with ChatGPT, then keep the weekly labour and plant hours in a model whose logic you can open and explain at any review.
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 civil engineers
- XLOOKUP and VLOOKUP for civil engineers
- Pivot tables for civil engineers
- Excel charts for civil engineers
- Excel dashboards for civil engineers
- Conditional formats for civil engineers
- Data cleaning for civil engineers
- Data validation for civil engineers
- Excel tables for civil engineers
- Text functions for civil engineers
- Date functions for civil engineers
- Dynamic arrays for civil engineers
- Power Query for civil engineers
- Macros and VBA for civil engineers
- Power Automate for civil engineers
- Copilot in Excel for civil engineers
- ChatGPT for Excel for civil engineers
- Claude in Excel for civil engineers