The Complete Excel Course with AI Integration
Power Pivot and DAX for M&E engineers in Excel
Test logs, maintenance records and meter exports grow faster than a sheet of lookup columns can follow, and every review wants the same figures cut a new way. The Complete Excel Course with AI Integration teaches mechanical and electrical engineers to model them in Power Pivot on SalesFusion, an industry-standard project, and this page picks out the query steps a model needs, then the relationships, DAX measures and dashboard they feed.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load a cleaned test log, asset register and site list into the Data Model as connections, so the readings never fill a worksheet and every report reads them from one place.
- Relate readings or work orders to the asset and site tables in Diagram View, one tag to many rows, in place of lookup columns copied down a log.
- Write DAX measures with SUM, DIVIDE and DISTINCTCOUNT for energy by feeder, mean time between failures by machine and yield by batch, with each failure counted once.
- Show each feeder's or fault category's share of the whole with CALCULATE and ALL, a percentage that stays right under every slicer.
- Mark each test result against its limit with a conditional column in Power Query, then count failures and yield with measures in a data-model PivotTable.
- Roll up mass, power draw or cost per assembly from a bill of materials merged with its parts master in a query.
- Trace a measure's error to a reading held as text with Check Formula, and fix its type in the query that feeds the model.
- Build a reliability or energy report from data-model PivotTables in tabular form, with slicers that filter every table at once and a Top 10 of the worst assets.
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 files, it ends in the model an engineering report needs: one fact table set between its lookups, two one-to-many relationships, six DAX measures and four PivotTables on shared slicers, the shape a test log takes beside its asset register and site list.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales data, it trains the PivotTable habits every data-model report rests on: fields and Value Field Settings, dates grouped by month, slicers, and Refresh All, which brings a whole report up to date in one click.
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 17 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 153 SalesFusion Power Query project
Begin with Lesson 153 when Excel tables and PivotTables are already part of your week: the SalesFusion overview shows the finished model first, and the path then runs in the order a model is built, query to measure to report. PivotTables still new? Lesson 57 to Lesson 65 come first, and Lesson 1 is the door for anyone new to Excel itself. Already loading clean queries? Jump to Lesson 162, where queries are loaded as connections for the model, or to Lesson 169 when your tables are ready to relate.
12 of 186 lessons · 1 h 17 min
15 SalesFusion: advanced data tools and a Power Query modelling system The goal before the build: the finished SalesFusion report, where filtering one view updates the detail sheet by itself, and the data model introduced as the map of how tables relate. A readings log beside an asset register and a site list is that same map with engineering names on it.
- 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 query steps a model stands on: readings and quantities given true number types, dates split into year, month and month-number columns that sort in calendar order, flag columns written once in the query, a Group By check of totals and row counts, Close and Load choices that keep queries as connections or send them to the Data Model, and a left-join merge that puts a master list's figures beside each row.
- 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
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system One fact table built from its lookups and its history, checked for blanks after every merge and held as a connection for the model: the part a year of test results, meter readings or work orders plays in yours.
- 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 Power Pivot itself, and these lessons need Excel for Windows: three tables loaded into the Data Model and related in Diagram View, then six DAX measures built with SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, edited and checked through Manage Measures.
- 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 measures put to work: a tabular report from the model with the key figures in the order a reader asks for them, then a dashboard of four PivotTables sharing four slicers through Report Connections, the layout a reliability or energy review reads at a glance.
- 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.
Which course takes a mechanical or electrical engineer from SUMIFS on a test sheet to a Power Pivot model with DAX measures?
The Complete Excel Course with AI Integration from Coding Liquids makes that climb on SalesFusion, one of its industry-standard projects, each designed after talking with people from many different industries. SUMIFS gives one figure per formula; a Power Pivot model answers every cut a review can ask for, by asset, site, batch or month, from one set of measures. Across 12 lessons and 1 hour 17 minutes you give columns true number and date types, keep a long fact table as a connection, relate it to short lookup tables in Diagram View, write DAX measures that total, divide, count each item once and take a share of the whole, then lay out a report and a slicer dashboard. The practice files are sales exports, and a test log, meter export or maintenance history beside its asset register follows every step unchanged. Expect Windows for the Power Pivot lessons, as the course's requirements say.
A logger can write more rows in a month than I want on any sheet: where does a data model keep them?
In memory, as a connection, never in the grid. The Complete Excel Course with AI Integration makes that choice in Lesson 162: Close and Load To offers connection only, a table or the Data Model, and the lesson's rule is to load only the finished output to a sheet, never every staging step, or the workbook grows slow and bloated. Lesson 168 holds the master table as a connection for the model, and Lesson 169 loads it into the Data Model with its lookups. From there PivotTables read the rows straight from the model, so a sheet shows only the summary a review asks for. Two habits keep a big log lean: Lesson 159 sets a date column to the Date type rather than Date/Time where the time of day is not needed, which saves memory and keeps relationships clean, and Lesson 156 removes the columns nobody reports on before anything loads.
Can the model roll up mass, power draw or cost for each assembly from a bill of materials and a parts master?
Yes, by joining three things The Complete Excel Course with AI Integration teaches. A merge with a left outer join (Lesson 163) puts the parts master's unit mass, rated power or unit cost beside every BOM line, the way the lessons bring product details beside each sale. A custom column (Lesson 160, where Profit is worked out row by row) multiplies quantity by that unit figure. A SUM measure (Lesson 170, the pattern of Total Sales) then totals the result for whichever assembly, system or supplier a PivotTable row or a slicer picks. A part missing from the master comes back blank after the join, and Lesson 168 shows the check that catches it before a total is reported. The lessons build all of this on sales; a single-level BOM fits it directly, while exploding nested sub-assemblies level by level is not taught.
Can DAX work out mean time between failures and mean time to repair for each machine or panel?
Yes: both are one total divided by another, the shape of measure The Complete Excel Course with AI Integration teaches. Lesson 170 writes Margin Percentage and average order value with DIVIDE, one measure over another, and MTBF is operating time over failures, MTTR repair time over repairs. Failures are counted with DISTINCTCOUNT on the work-order number, exactly as the lesson's Orders measure counts each order once although it has a row per product, so a breakdown that replaced three parts still counts as one. DIVIDE returns a blank rather than an error for a machine with no failures in the period. Placed in a data-model PivotTable (Lesson 171), the measures recalculate for every machine, line, site or shift in its rows or slicers. The lessons build these measures on sales; the maintenance versions are yours to write with the same functions.
Can the model count results outside their limits and give the yield for each batch or supplier?
Yes: the flag is set in the query and the counting is done by measures. The Complete Excel Course with AI Integration adds a conditional column in Lesson 160 that marks every sale of 500 or more as High and the rest as Normal; the same dialog marks each test result Pass or Fail against its limit, and the rule runs on every row at every refresh. In a data-model PivotTable that flag splits any count, so passes and failures by batch, rig or supplier sit side by side (Lesson 171). Let the flag hold 1 for a pass and 0 for a fail, and yield is a DIVIDE measure, the flags summed over the tests counted, built like Margin Percentage (Lesson 170) with the count made by DISTINCTCOUNT on the test number. Slicers then narrow the whole report to one product variant or test station (Lesson 172). Process capability figures such as Cp and Cpk need standard deviations, which the course does not cover.
Our rig exports readings as text, with units typed after the figures: will a DAX measure add them up?
Yes: the query turns them into true numbers before the model sees them, and The Complete Excel Course with AI Integration teaches that fix from both ends. Lesson 170 meets the problem head on: its Total Sales measure fails, Check Formula traces the error to a sales column stored as text, the column is fixed in Power Query and the measure rebuilt. The fix itself comes from Lesson 157 and Lesson 158: Replace Values strips the money symbol, commas and NA out of the figures, the same move that clears a unit typed after a reading, and each column is then given its true type, Decimal Number for readings and Whole Number for counts, with values written as words replaced first. From then on every measure, PivotTable and slicer reads real numbers, and next week's export is cleaned by the same saved steps at refresh.
I keep reading that PivotTables are being replaced: where does Power Pivot leave the test summaries I build now?
At the front of the model, because a data model reports through PivotTables, and The Complete Excel Course with AI Integration ends its Power Pivot lessons with four of them. Lesson 170 inserts a PivotTable From Data Model to test the measures, Lesson 171 turns it into a report in tabular form with grand totals off and the key measures in the order a reader asks for them, and Lesson 172 adds three more PivotTables, four slicers and Report Connections so one click filters them all. What changes is what sits behind the PivotTable: related tables and measures in place of one sheet's range, so a summary by site, by asset type and by month comes from the same model. The PivotTable skills from Lesson 57 onwards carry straight across, and Copilot builds PivotTables from a prompt in Lesson 92.
Can I write DAX inside Excel, or only in Power BI, which our controls team uses?
Inside Excel: every measure in The Complete Excel Course with AI Integration is written in Power Pivot's own New Measure dialog, and the language is the same DAX that Power BI reads. Lesson 170 builds Total Sales, Total Profit, Orders, Margin Percentage, average order value and a percentage of total with SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, then edits and checks them through Manage Measures. Lesson 154 frames the whole SalesFusion pipeline as data loaded into Excel or Power BI, and the habits carry over: clean queries, a fact table between its lookups, relationships, measures that recalculate for every filter. So a model built here gives you a shared language with a team that reports in Power BI, though Power BI itself is not taught. Power Pivot needs Excel for Windows, so plan these lessons on a Windows machine.
If ChatGPT drafts a DAX measure for a failure rate, what does the course teach me to check before it reaches a reliability review?
Three checks, each taught in The Complete Excel Course with AI Integration. First, Manage Measures and Check Formula (Lesson 170), which reads a measure for errors before it touches a report; the lesson uses it to trace a failed measure to its column. Second, a test PivotTable from the Data Model, where the new measure stands beside figures you can confirm by hand, as the same lesson tests its six measures. Third, a control total: Lesson 161 builds a Group By query that totals the data and counts its rows by month and region, numbers the measure must match. The AI lessons add the mindset: Lesson 95 has Copilot and ChatGPT write worksheet formulas you verify, and Lesson 99 gives a short checklist for any AI output. A rate that cannot be tied back to the raw log stays out of the review.
I have never opened Power Query: which query lessons come before the model, and how long is the path?
About 1 hour 17 minutes in all, with the query part kept to what a model depends on. The Complete Excel Course with AI Integration starts this path with the SalesFusion overview (Lesson 153), then the query steps a measure needs underneath it: true data types (Lesson 158), date columns that sort in calendar order (Lesson 159), flag columns (Lesson 160), a Group By check (Lesson 161), loading to the Data Model (Lesson 162), a merge (Lesson 163) and the fact table (Lesson 168). Power Pivot follows in Lesson 169 and Lesson 170, which need Excel for Windows, and the report and dashboard close the path. The SalesFusion lessons this path passes over, on importing a CSV, cleaning text, reusing a pipeline, appending a second year and combining a folder, build the queries the fact table is made from: take them in order to build every query yourself. Lifetime access keeps them on hand, and the instructor support plan puts questions about your own model to the instructor, answered in writing.
Can the finished report rank the ten assets with the most downtime and show the same view for any one site?
Yes, and Lesson 172 in The Complete Excel Course with AI Integration builds that exact arrangement on sales. It inserts three more PivotTables from the Data Model beside the category report, one by region, one as a monthly trend with the year above the date, and one filtered with Value Filters to the top ten products, then adds slicers for category, channel, year and region and links each one to all four tables through Report Connections. Swap the names and you have downtime by system, by site, by month and the worst ten assets, with a site or shift slicer that filters every table at once because the measures recalculate for each selection. Matching slicer and PivotTable styles give the page one look, ready for a maintenance review, and when next month's export lands, Refresh All brings every table up to date.
Which of my engineering tables plays the part of SalesFusion's sales table, and which play its lookups?
The table that keeps growing plays the sales table, and the tables that describe each thing once are the lookups. In The Complete Excel Course with AI Integration, Lesson 169 sets Main Sales File between ProductsLookup and RegionsLookup in Diagram View and draws two one-to-many relationships: the 1 marks the lookup, where each code appears once, and the asterisk the sales table, where it repeats. In engineering terms the growing table is the readings log, the meter export, the test results or the work orders; the lookups are the asset register by tag, the parts master by part number, the site or board list by code. Draw the same lines and every measure can be cut by any column of any lookup. The lesson's point holds for your files too: relationships replace a lookup column dragged down thousands of rows.
Can a model total energy by feeder and building from a half-hourly meter export, with each feeder's share of the site?
Yes, with the measures The Complete Excel Course with AI Integration builds for sales. The meter export becomes the fact table, and a meter register giving each meter's feeder, board and building once becomes the lookup related on the meter ID (Lesson 169). Total energy is a SUM measure, the pattern of Total Sales in Lesson 170, and each feeder's share of the whole is that lesson's percentage of total: DIVIDE of the measure by the same measure under CALCULATE with ALL, which sets the feeder filter aside to reach the site total, so the share stays right whatever building or month a slicer picks. The month columns from Lesson 159 put the monthly trend in calendar order. Peak demand, the highest reading in each interval, is not one of the measures taught; consumption, shares and monthly trends all are.
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 M&E engineers
- Lookups for M&E engineers
- Pivot tables for M&E engineers
- Excel charts for M&E engineers
- Dashboards for M&E engineers
- Conditional formatting for M&E engineers
- Data cleaning for M&E engineers
- Data validation for M&E engineers
- Excel tables for M&E engineers
- Text functions for M&E engineers
- Macros and VBA for M&E engineers
- Power Automate for M&E engineers
- Claude in Excel for M&E engineers