The Complete Excel Course with AI Integration
Power Pivot and DAX for PMO analysts
A portfolio report draws on a project register, monthly status returns and spend lines from finance, and the lookup columns tying them together break a little more each month. The Complete Excel Course with AI Integration replaces them with a Power Pivot data model on SalesFusion, an industry-standard project; this page picks out the lessons that load clean tables into it, relate them, measure them with DAX and put the result on a dashboard the board can filter.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load the register, the spend lines and every month's status returns into the Data Model as connections, so the portfolio workbook's sheets carry the report and nothing else.
- Relate each log to the project register in Diagram View, the register on the one side and the log on the many side, so a programme or sponsor changed once reaches every report.
- Write DAX measures for total spend, projects reporting and spend per project with SUM, DISTINCTCOUNT and DIVIDE, each defined once in Power Pivot and recalculated for every filter.
- Give each programme, or each red, amber and green rating, its share of the portfolio with DIVIDE, CALCULATE and ALL, and keep the shares right whatever a slicer picks.
- Trace a measure that errors back to a column held as text with Check Formula, fix the type in Power Query and rebuild the measure before the pack goes out.
- Build the portfolio board's report from the Data Model in tabular form, then a dashboard of PivotTables by programme, by month and a Top 10 of spend, all joined to shared slicers through Report Connections.
- Unpivot a baseline or forecast grid with a column per month into a long table of month and amount, shaped for the 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 in the course from messy sales files, it ends in the structure a portfolio office reports from: a long table tied to two short lookups, relationships drawn once, measures defined once, and a dashboard whose PivotTables all obey one set of slicers. Spend or status lines take the place of the sales, and the register takes a lookup's.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales data, it is where a model report's PivotTable habits begin: fields placed in rows and columns, order dates rolled up into months, slicers, and Refresh All (Lesson 65), the button that brings a late return into every view.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built for budget vs actual reporting, it stays the place for each project's spend against its approved budget, with variance, percent variance and colour-coded formats, while the model takes on counts, shares and the portfolio's detail.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 8 of them, 54 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 153 SalesFusion Power Query project
Start at Lesson 153 to see the finished report a model feeds, then follow SalesFusion in order: the Power Query lessons between the ones on this page build the clean tables the model is made from, and the model needs them first. Already consolidating status reports in Power Query? Go straight to Lesson 162. New to PivotTables? Take Lesson 57 to Lesson 65 before the model. New to Excel altogether? Begin at Lesson 1, since every part of this path builds on the formulas and tables that come before it.
8 of 186 lessons · 54 min
15 SalesFusion: advanced data tools and a Power Query modelling system The finished SalesFusion report toured first: a business view of PivotTables and slicers, and a detail sheet that changes with every click on it. Power Query is introduced as the clean-up engine and the data model as the plan of which table joins which, the two halves every portfolio report built this way stands on.
- 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 Close and Load choices: connection only, table or Data Model, and the rule that only finished output belongs on a sheet. A portfolio workbook that already carries a tab per project gets lighter the day its staging queries become connections.
- 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 long table from cleaned queries: lookups merged in, history appended, every key column checked for blanks, the result kept as a connection for the model. For a PMO that is every month of spend or status lines in one table, the shape a data model reads best.
- 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 half: tables added to the Data Model and joined in Diagram View, then measures written with SUM, DISTINCTCOUNT, DIVIDE and CALCULATE with ALL, and a broken one traced with Check Formula, both done in the Power Pivot window, which needs Excel for Windows. Then a focused report laid out from the model and a dashboard where every slicer reaches every PivotTable through Report Connections. The lessons model sales; your register and logs take the same places.
- 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 grids a PMO receives: a budget export laid out one month to a column, turned into long rows that each hold a month and its amount, real dates added, and the query left able to take later months without a change. Baselines and forecasts arrive in that wide shape, and the model needs them long.
- 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.
Power Pivot and DAX for PMO analysts: is one data model enough to carry the register, the returns and the spend of a whole portfolio?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches the whole build on SalesFusion, an industry-standard project, and the model it ends with is the one a portfolio office needs: a long log of rows tied by codes to short reference lists. The course fills it with sales; in your version the spend lines and monthly returns form the log, and the project register is the reference list every row points to. You bring finished queries into the model (Lesson 162), draw the joins in Diagram View (Lesson 169), write six DAX measures (Lesson 170) and end with a tabular summary and a dashboard whose PivotTables follow shared slicers (Lesson 171, Lesson 172). The 8 lessons picked out here run 54 minutes, in the order a portfolio pack comes together, and the completed workbook ships with the course so each step can be held against a working answer.
Why keep the project register as a table of its own in the model, instead of copying programme and sponsor onto every row?
Because a fact kept once can only go wrong in one place. In The Complete Excel Course with AI Integration, Lesson 169 loads three tables into the data model and draws two relationships in Diagram View: each lookup sits on the side marked 1, where every code appears once, and the sales table on the side marked with an asterisk, where codes repeat. Give your register the lookup's place and every spend line or status row reaches its project's programme, sponsor and stage through the relationship, with no lookup column on any sheet. When a project moves to another programme, one row of the register changes and every PivotTable built on the model follows at the next refresh. The lesson's own comparison says it best: a relationship does the work of a lookup formula dragged down thousands of rows, without the drag, the weight or the broken copy.
Spend lines, status returns and the register all come out of Power Query: how do they reach the model without a sheet for each?
As connections loaded straight into the data model, which keeps the portfolio workbook light. The Complete Excel Course with AI Integration sets the rule in Lesson 162: only finished output belongs on a sheet, and working queries stay as connections, held ready for a PivotTable or the model. Lesson 168 then assembles the long table the model runs on, merging the lookups in, appending the history and checking key columns for blanks before saving the result as a connection, and Lesson 169 ticks Add this data to the Data Model for it and for both lookups. For a PMO, that puts the register, a year of spend lines and every month's returns inside the model instead of on tabs a sponsor might sort or overwrite, and the sheets hold only the report. Merges and appends can let empty codes in, which is why the checks come before the load.
Our status return has a row per workstream, so big projects appear several times: can a measure count each project once?
Yes: DISTINCTCOUNT counts each code once, however many rows carry it. In The Complete Excel Course with AI Integration, Lesson 170 writes an Orders measure with DISTINCTCOUNT on the order ID, because an order with several products has a row for each and must still count as one. Aim the same measure at the project code and the model tells you how many projects reported this month, split by programme, sponsor or stage, whichever field sits in the PivotTable's rows. Set it beside a count of the register and the difference is the number of returns still to chase. The same function counts each risk once in a RAID log that keeps a row per update, and each person once in an allocation list. Written once in the model, the measure gives the same answer in every PivotTable that uses it, which COUNTIFS copied from tab to tab never guarantees.
What share of the portfolio is red, amber or green this month, and does that share hold when one programme is picked?
Yes, it holds, through the percent-of-total measure The Complete Excel Course with AI Integration writes in Lesson 170. There, Sales Percentage of Total by Category divides each category's sales by the whole with DIVIDE, and CALCULATE with ALL lifts only the category filter to reach that whole. Build the same measure on your count of projects, with the rating where the category was, and it gives the share of projects at red, amber and green. Because ALL lifts only the rating's filter, a programme or month picked in a slicer turns the shares into that programme's own split, still adding up to the whole, and DIVIDE returns a blank rather than an error where nothing is rated. With ratings across the columns and months down the rows, one measure lays out the portfolio's health month by month for the steering pack.
Total spend, spend per project and each programme's share: can I write these portfolio figures as DAX measures?
Yes, and each has a twin among the six measures The Complete Excel Course with AI Integration builds in Lesson 170. Total Sales, a SUM of the amount column, becomes total spend. AOV divides total sales by the count of orders with DIVIDE, which turns into spend per project once orders become projects. The percent-of-total measure gives each programme its slice of portfolio spend, and Margin Percentage is the pattern for any ratio of two totals, spend against an approved budget held in the register among them. Each is written once in the Power Pivot window, Check Formula catches a mistake before it spreads, and every measure recalculates for each filter and slicer, so the figure on the summary and the one in a programme's drill-down cannot disagree. Lesson 171 then sets the measures side by side in a tabular report, the figure the board asks about first placed first.
Each project-month gets red, amber or green from our rating rule: does that rule belong in the query or in DAX?
In the query, as a column, while the counts and shares built on it belong in DAX, and The Complete Excel Course with AI Integration teaches both halves. Lesson 160 adds a conditional column that labels every sales row High or Normal against a threshold, beside custom columns for profit and margin, so the rule runs identically at every refresh. A RAG rule set on the return's own fields, such as the share of budget spent or the days a milestone has slipped, is the same row-by-row labelling. What must change with the filter belongs in measures: how many projects are red, what share of the portfolio is amber, the spend inside one programme (Lesson 170). Kept that way, a sponsor sees the same colour for a project in every view, and every total and share follows the slicers without a formula being touched.
FinanceGuard already compares spend with budget: when does a PMO need a data model as well?
When the question moves from one table of budgets to the detail of the whole portfolio. FinanceGuard, the budget vs actual project of The Complete Excel Course with AI Integration (from Lesson 115), remains the home of spend against budget: budget and actual tables, a model built on SUMIFS, variance and percent variance, and colour-coded number formats that make an overspend stand out. The data model adds what grids of SUMIFS strain at as a portfolio grows: spend lines related to the register so any of its fields becomes a way to cut them, distinct counts of projects, shares of the total that follow the slicers, and one definition of every figure behind every view. A PMO can run both, the variance report for the steering pack and the model for the questions asked between packs, and Lesson 173 shapes a monthly budget grid into a long table ready for the model.
A project manager disputes the spend the dashboard shows for their project: how do I show where the figure comes from?
Open the measure and the query behind it, and The Complete Excel Course with AI Integration teaches you to read both. Every measure is defined once and listed in Manage Measures, where Lesson 170 edits a formula and runs Check Formula, so the definition of spend sits in one line instead of being scattered through cells. The data behind it is just as open: each Power Query step stands in Applied Steps, in order, and clicking one shows the table as it was at that point (Lesson 156). For the totals themselves, Lesson 161 builds a Group By query that sums the data and counts its rows by month and region, a check you can hold against the finance system's own report. Put the project in rows and months in columns, and the disputed figure breaks into its months while the project manager watches.
Sponsors want their own programme and the PMO wants the whole portfolio: can one dashboard built on the model serve both?
Yes: slicers joined to every PivotTable let each audience cut the same sheet its own way. The Complete Excel Course with AI Integration builds it in Lesson 172: four PivotTables from the data model, by category, by region, a monthly trend with the year above the date, and a Top 10 of products, then slicers for category, channel, year and region, each linked to all four through Report Connections and styled to match. A PMO's version puts programme, sponsor, stage and year in the slicers, spend by programme and by month in the tables, and the biggest spenders in the Top 10. A sponsor clicks their programme and every table narrows to it; clearing the slicer brings the portfolio back. Because the figures are measures, shares and averages recalculate for each selection instead of showing portfolio numbers under a programme's heading.
Can DAX give the portfolio earned value figures such as cost or schedule performance?
Yes: cost and schedule performance are each one total over another, the measure shape The Complete Excel Course with AI Integration teaches with DIVIDE. Lesson 170 writes Margin Percentage and AOV that way and shows why DIVIDE beats a plain division: a zero below the line returns a blank, not an error, so a project with nothing spent yet leaves a gap instead of breaking the report. Cost performance is earned value over actual cost, and schedule performance is earned value over planned value: two totals and one division, written once and sliced by programme or month like every other measure. How earned value itself is arrived at from progress and budget is a project management method, not a lesson of the course, so those inputs follow your PMO's own rules; the model that holds them and the measures that report them are what you build here.
Our resource allocation list links people to projects: does it fit the model the course builds?
Yes, it is the course's own shape: one long table between two lookups. In The Complete Excel Course with AI Integration, Lesson 169 places the sales table between a product list and a region list and relates it to both. An allocation list with a row per person, project and month takes exactly that place, between your people list and the project register. A SUM measure gives booked days by project or by person, DISTINCTCOUNT (Lesson 170) counts the people on each project and the projects each person is spread across, and a slicer on team or programme narrows the lot. Put people in rows and months in columns and the heavy months stand out. Setting booked days against each person's availability stays a worksheet check with IF and conditional formatting, which the course also teaches; the lessons draw the relationships on products and regions, and yours are drawn the same way.
Some returns land late: when the last one arrives, what do I do to bring the model up to date?
Save it beside the others and press Refresh All: The Complete Excel Course with AI Integration builds the chain so nothing else needs touching. The status reports gather through a folder query that takes in every new file on refresh (Lesson 166), each cleaning step runs again, the long table rebuilds with its merges and appends (Lesson 168), and the model's tables reload with their relationships in place. Measures are not stored figures, so they recalculate on the new rows by themselves, and every PivotTable and slicer of the dashboard (Lesson 172) shows the late projects as soon as the refresh ends. Refresh as each return lands or once when the last arrives: the result is the same. Lesson 65 builds the refresh habit on ordinary PivotTables first, and the SalesFusion workbook supplied with the course shows the whole chain working end to end.
The status reports already come together in Power Query: how much further is it to a model with measures?
About 54 minutes for the whole path, and the larger part of it is the model itself. In The Complete Excel Course with AI Integration, Lesson 168 turns the cleaned queries into one long table held as a connection; Lesson 169 and Lesson 170 build the relationships and the six measures, and they need Excel for Windows, where Power Pivot runs; Lesson 171 and Lesson 172 turn the measures into a report and a dashboard. Lesson 173 adds the unpivot for a monthly grid. SalesFusion, like every project in the course, was designed after talking with people from many different industries, and with its files and the finished workbook beside you the method can be running on your own register and returns before the next portfolio board. Lifetime access keeps the lessons open for the day the model takes on a RAID log or an allocation list, and completing the course earns a Certificate of Completion with a verification link.
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