The Complete Excel Course with AI Integration

Power Pivot and DAX for industrial engineers

Scrap and downtime rates go wrong the moment row percentages are averaged, and a production log soon outgrows its lookup columns. The Complete Excel Course with AI Integration answers both with a Power Pivot data model and DAX measures on SalesFusion, an industry-standard project. This page picks out what an industrial engineer needs: period fields, row logic and a check of totals, the fact table, relationships, measures, a slicer-driven dashboard and the plan reshaped.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Relate a production or downtime log to a machine list and a part master in Power Pivot's Diagram View, so line, shift and part family filter the log with no lookup columns.
  • Write DAX measures with SUM, DIVIDE and CALCULATE that give scrap rate, downtime share by cause and output for any line, shift or machine, weighted by volume.
  • Count work orders, batches or stoppages once each with DISTINCTCOUNT when the log holds a row per operation, then divide by that count for output per order.
  • Prepare a log for the model in Power Query: year and month fields that sort in calendar order, row-level flags, and a Group By check of totals and row counts by month.
  • Keep staging queries as connections and load only the finished fact table and its lookups to the Data Model, so a log longer than a worksheet still reports quickly.
  • Build a line review from Data Model PivotTables: a tabular report, a monthly trend and the ten worst parts for scrap, all moved together by connected slicers.
  • Reshape a production plan with a column per month into a long table of month and target units with Unpivot, ready for the data model.

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 a sales pipeline, it gives an industrial engineer the full anatomy of a line model: an event table kept lean, lookup tables related to it in Diagram View, measures that divide totals instead of averaging rows, and four PivotTables that one slicer click moves together.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    A PivotTable project on order-level sales, it trains the habits a Data Model report relies on: fields placed in rows and values, dates grouped, slicers and Refresh All, so the model's PivotTables feel familiar from the first click.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 1 h 12 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 you already build PivotTables and have brought a CSV into Power Query: the path follows the SalesFusion model from its period fields to the finished dashboard. New to Power Query? Take Lesson 155 to Lesson 158 first for importing, renaming and data types. New to PivotTables? Begin at Lesson 57, or at Lesson 1 if Excel itself is new. Already confident in Power Query? Go straight to Lesson 169, where the model and its measures begin.

11 of 186 lessons · 1 h 12 min

15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min The finished SalesFusion report comes first: a business view of slicers and PivotTables whose filter flows through to a linked detail sheet, and the data model introduced as the map of how tables relate. An industrial engineer sees here what a line model is for before building one.
  1. 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 1 of 21 lessons · 7 min Period fields the model slices by: unreadable entries cleared from the date column, the type set to Date, then year, month name, month number, month start and year-month added. The month number keeps a monthly trend of output or scrap in calendar order rather than alphabetical.
  1. 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 3 of 21 lessons · 16 min Row logic and control before anything is modelled: custom and conditional columns that work out a figure per row and label rows by a threshold or a sign, a Group By query of totals and row counts by month and region that exposes a figure too good to be true, and the choice between connection only, a table or the Data Model.
  1. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
  2. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  3. 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 5 of 21 lessons · 37 min The model itself: one fact table built from history and a folder of files and checked for blanks, the Data Model with two one-to-many relationships drawn in Diagram View, six DAX measures, a tabular report and a dashboard of four PivotTables moved by four connected slicers. The Power Pivot lessons here, where the model and its measures are built, need Excel for Windows.
  1. 168 Build a sales fact table in Power Query Merge lookups and append history 6 min
  2. 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 min
  3. 170 DAX measures in Power Pivot Total sales, margin percent and percent of total 10 min
  4. 171 PivotTable report from the Data Model Format the SalesFusion report in Excel 5 min
  5. 172 Interactive Excel dashboard Data model PivotTables, slicers and styling 10 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 8 min Unpivot for plans that arrive wide: a budget and targets export with a column per month becomes a compact table of month, budget sales and target units for the data model, and a new month column never breaks it.
  1. 173 Unpivot columns in Power Query Turn wide month columns into a long table 8 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

How do Power Pivot and DAX help an industrial engineer keep scrap and downtime rates right for any line, shift or machine, and where are they taught?

By working out every rate from totals at whatever level you filter to, and The Complete Excel Course with AI Integration from Coding Liquids teaches the whole method on SalesFusion, an industry-standard project designed after talking with people from many different industries. A data model holds the event log once and relates it to its lookup tables in Diagram View (Lesson 169). DAX measures then divide one total by another for each line, shift or machine a slicer picks (Lesson 170), so every rate is weighted by what was actually made and a short trial run cannot swing it. For a production log, the 11 lessons on this page, 1 hour 12 minutes in all, run from the period fields that prepare the table to a dashboard of four PivotTables. The lessons work on sales files; a log of runs, stoppages and scrap, with its machine list and part master, takes exactly the same shape.

Should scrap rate be a column in the production log or a DAX measure?

A measure, while the scrap count itself stays a column of the log, and The Complete Excel Course with AI Integration teaches both halves so the difference sticks. In Lesson 160, custom columns in Power Query work row by row: Profit is sales less cost on each row, and a Margin column divides the two per row, with a test that skips an empty or zero sale. In Lesson 170, Margin Percentage reappears as a DAX measure that divides total profit by total sales for whatever the PivotTable shows. On a line, a per-row figure answers how bad one run was, and the measure answers how bad the shift, the line or the month was, weighted by the pieces actually made. Average a column of row rates instead and a ten-piece trial counts as much as a full production run. Keep the counts in the log and the rates in the model.

Can the model link my production log to a machine list and a part master without lookup columns?

Yes: relationships do the work that lookup columns did, and The Complete Excel Course with AI Integration builds them in Lesson 169. Three tables go into the Data Model, the sales fact table and the product and region lookups. In Diagram View a code column is dragged onto its partner, and Excel draws a one-to-many relationship: the 1 on the lookup side, where each code appears once, and the asterisk on the side where it repeats. For an industrial engineer, the log of runs or stoppages is the many side, and the machine list, keyed by machine number, and the part master, keyed by part number, are the one side. A slicer on a machine's line or a part's family then filters the whole log through the relationship, while the log itself keeps nothing but codes and counts. No lookup formula is filled down thousands of rows, and none needs extending when the log grows.

My log has a row per operation: can a measure count work orders instead of rows?

Yes, with DISTINCTCOUNT, which counts each value once however many rows carry it, and The Complete Excel Course with AI Integration writes that measure in Lesson 170. The SalesFusion data has the shape of an operation log: an order has a row for every product on it, so a count of rows overstates orders, and the Orders measure counts each order number once instead. Point it at a work order, batch or lot number and a PivotTable shows how many orders each line ran in a shift or a month, right at every level. The same lesson builds AOV, average sales per order, by dividing one measure by another with DIVIDE; on your log that pattern gives output per work order, or lost time per stoppage when the stoppages are counted the same way. Both recalculate for every slicer added later, with no helper column in sight.

Can a measure give each downtime cause's share of all lost time, whatever the slicers pick?

Yes: CALCULATE with ALL reaches the total the share is taken of, and The Complete Excel Course with AI Integration builds that exact measure. In Lesson 170, Sales Percentage of Total by Category divides each category's sales by a total worked out with CALCULATE and ALL on Category, so the category on the row is set aside for the bottom of the fraction and the shares add up to the whole. Give it your cause codes and downtime figures and it becomes a Pareto in numbers: each cause's lost time over all lost time for the line, shift or month a slicer picks. Sort the PivotTable largest first and the causes that deserve an improvement project sit at the top, recalculated the moment the filter changes. The tabular report of Lesson 171 then puts that share beside the totals in one readable table.

What does a rate measure show for a machine that made nothing on a shift?

A blank, not an error, because the measures in The Complete Excel Course with AI Integration divide with DIVIDE. Lesson 170 uses it for Margin Percentage and AOV, and the lesson makes the point every plant report needs: where the bottom of the fraction is zero, DIVIDE returns an empty result instead of a division error. An idle press, a line held for a changeover all shift or a part with no runs this month shows as blank in the PivotTable, and the totals around it still add up. The same care comes a step earlier in Power Query, where the Margin column of Lesson 160 tests for an empty or zero sale before it divides. On a worksheet, a single division error in a column turns every SUM over it into an error too; in a model, the report carries on and the gap is plain to see.

Our MES exports cycle times as text: will a DAX measure catch that?

Yes: the measure stops with an error, and The Complete Excel Course with AI Integration shows how to trace it and fix the cause. In Lesson 170 the first measure, a SUM of sales, fails; Check Formula in Manage Measures traces the fault to the column being stored as text, the type is corrected back in Power Query and the measure is rebuilt. That is the order of work for an engineer's log as well, since a model is only as sound as the table under it. So the path keeps the preparation that matters to a model: proper date fields (Lesson 159), row logic and a Group By query of totals and row counts by month (Lesson 160 and Lesson 161), and a fact table checked for blanks after its merges and appends (Lesson 168). Set the types right once, and every refresh keeps them right.

Can the review sheet show the ten worst parts for scrap and a monthly trend together?

Yes, and the closing dashboard of The Complete Excel Course with AI Integration is built in exactly that shape. In Lesson 172 three more PivotTables come from the Data Model beside the category report: one by region, a Monthly Trend with the year above the sale date, and a Top 10 value filter on products. Four slicers, for category, channel, year and region, are wired to all four PivotTables through Report Connections, so one click moves the whole sheet, and one style ties it together. Put scrap count or scrap rate in the values and part numbers in the rows, and the top ten table names the worst parts for whichever line or shift you slice to, while the trend follows the same measure month by month. The report layout of Lesson 171, tabular form with the key measures first, keeps it quick to read in a production meeting.

Where is DAX written in Excel, and how different is it from the SUMIFS I already use?

In Power Pivot's Measures dialog, and it differs in one big way that The Complete Excel Course with AI Integration makes easy to grasp. A worksheet formula lives in a cell and answers for the ranges it names; a DAX measure lives in the model and answers for whatever the PivotTable's rows, columns and slicers point at. So Total Sales, the first measure of Lesson 170, is a plain SUM of one column, yet it gives the right total in every cell of the report with no criteria typed at all. CALCULATE then changes the filter on purpose, as when a share needs the grand total, DIVIDE divides safely and DISTINCTCOUNT counts unique values. Engineers tend to find the functions familiar and the idea the real lesson: one measure per question instead of one formula per cell. Manage Measures and Check Formula are where each one is edited and tested.

Is the DAX in Power Pivot the same DAX the plant's Power BI reports run on?

Yes: it is one language, so the measures learned in The Complete Excel Course with AI Integration carry straight over. DAX is the formula language of Power Pivot's data model, and Power BI's models use it too, so a measure written with SUM, DIVIDE, CALCULATE, ALL or DISTINCTCOUNT, as in Lesson 170, reads the same in either. The ETL lesson, Lesson 154, also shows that the pipeline can load into Excel or into Power BI. Power BI's own report canvas and publishing are not taught; what the course gives is the part that transfers, a model of related tables and measures that answer correctly at any level, built and tested in the Excel you already use for line data. For an engineer asking the plant's BI team to adopt a new rate, a measure proven in Excel first is a strong argument.

Will a year of production logs fit in the model when it would overwhelm a worksheet?

Yes: a long log belongs in the Data Model, and The Complete Excel Course with AI Integration sets the workbook up that way. Lesson 162 gives the rule: load only the finished table into the grid and keep staging queries as connections, or the workbook grows slow and bloated. Lesson 168 then builds one master fact table from a history table and a folder of files and loads it as a connection only, and Lesson 169 adds it to the Data Model with its lookups. The model keeps its tables compressed in memory instead of in cells, so a log longer than a sheet can hold still goes in, and PivotTables summarise it quickly. Follow the lesson's advice on columns too: a column the reports never use costs memory, and the cost grows with every month of data.

Our production plan is a grid with a column for each month: can it sit in the model beside actual output?

Yes, and the reshape that gets it there is taught in The Complete Excel Course with AI Integration on a file of the same kind. Lesson 173 opens a wide export holding budget sales and target units with a column per month. Unpivot Other Columns turns the month columns into rows, a real date is built from the month text, the two metrics are pivoted back into columns of their own, and Group By leaves a compact table of month, budget sales and target units, ready for the data model. Because Unpivot Other Columns names no month, next month's column cannot break the query. The lesson stops at that table; joined to the log on the month with the same drag in Diagram View that Lesson 169 teaches, a plan reshaped this way lets the review set what the line was asked to make beside what it made.

Could I have a working line model before the next monthly production review?

About 1 hour 12 minutes of lessons stands between you and a first line model, and The Complete Excel Course with AI Integration lays them out in the order one goes together: period fields, row logic and a check of totals, the fact table, then the relationships of Lesson 169, the measures of Lesson 170 and the dashboard of Lesson 172. The SalesFusion dataset and the finished workbook come with the course, so each step is checked against a working answer before you swap in your own MES export, machine list and part master. The second model goes faster than the first, because the pattern never changes: a lean fact table, lookups related to it, a measure for each question. Lifetime access keeps the lessons on hand for that second model, and the Certificate of Completion earned at the end of the course carries a link anyone can use to verify it.

Our engineering PCs run Excel for Windows: do the Power Pivot lessons need anything more?

Nothing more: Power Pivot is built into Excel for Windows and is switched on from the Data tab, which The Complete Excel Course with AI Integration shows in Lesson 169 with the Data Model icon, Manage Data Model and the prompt to enable the data analysis add-ins. The course's requirements name Windows for its Power Pivot lessons, the model and its DAX measures (Lesson 169 and Lesson 170), and those are the heart of this page. The Power Query lessons around them, the date fields, the row logic, the check of totals and the reshaped plan, also run in Excel for Mac with Microsoft 365, so tables can be prepared on either machine and the model built on the plant's PCs. No add-in is bought and no software is installed: everything on this path happens inside the Excel already on an engineering desk.

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.