The Complete Excel Course with AI Integration
Power Pivot and DAX for insurance underwriters
Premium, claims and the broker list arrive as separate extracts, so a loss ratio by class or broker usually means lookups filled down thousands of rows and a fresh SUMIFS grid for every new cut. The Complete Excel Course with AI Integration replaces that with a Power Pivot data model and DAX measures on SalesFusion, an industry-standard project. This page picks out the lessons that build it: the fact table, the relationships, the measures, the report and the dashboard.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Relate a bordereau or policy listing to its class, broker and territory lists in a Power Pivot data model, with one-to-many relationships drawn in Diagram View instead of lookups filled down every row.
- Write the measures a book of business is read by: written premium and incurred claims with SUM, and the loss ratio with DIVIDE, so a class with no premium shows a blank rather than an error.
- Count policies and claims once each with DISTINCTCOUNT when a bordereau repeats them over several rows, then divide the counts into frequency and severity.
- Give each broker or class its share of the premium in view with CALCULATE and ALL, a share that stays right whichever slicer is clicked.
- Label rows in Power Query before they reach the model, new business or renewal and a large-loss marker, so the loss ratio splits by either at a click.
- Lay out a tabular report of the model's measures by class or line, then a dashboard of four PivotTables, by class, territory, month and the largest accounts, under one set of slicers.
- Check a model before its figures leave your desk, with Group By totals and row counts set against the source and Check Formula run on every measure.
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.
The course's sales reporting system, whose second half is a book-of-business model in miniature: transactions in one fact table, lookup lists related to it, measures for totals, ratios, distinct counts and shares, and a dashboard of PivotTables under shared slicers. Put premium and claims where the sales figures stand and the structure holds.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
The course's PivotTable project on order data, where fields, grouping by date, slicers and Refresh All are learned on an ordinary table first. Every one of those clicks carries over to a PivotTable drawn from the Data Model, so the model's report feels familiar from its first day.
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 6 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 clean exports in Power Query and build PivotTables: the path shows where SalesFusion is heading, then moves to the query's row logic and the handover to the model. Power Query still new? Watch Lesson 154 to Lesson 159 before the path's second run and Lesson 163 to Lesson 167 before its third, since the model is built from the tables they clean and combine. New to PivotTables, begin at Lesson 57; new to Excel, at Lesson 1. Loading tables to the Data Model already? Go straight to Lesson 169.
10 of 186 lessons · 1 h 6 min
15 SalesFusion: advanced data tools and a Power Query modelling system The destination before the first step: the finished SalesFusion report with its slicers, PivotTables and a detail sheet that follows them, Power Query as clean-up recorded once and replayed, and the data model as the map of how tables relate. Seen first, it tells an underwriter which extract will become which table.
- 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 Row logic, checks and the handover: profit, margin and labels worked out as columns in the query, a QA query grouped by month and region that sums the sales and counts rows, biggest first, and loading choices that hold staging steps back as connections while the finished table goes on to the Data Model. On a bordereau, those labels become new or renewal and a large-loss marker.
- 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 model itself, in the order a book-of-business report is built: one fact table assembled from history, new files and lookups, then checked for blanks; the tables added to the Data Model and related one-to-many in Diagram View; six DAX measures covering totals, distinct counts, shares and ratios; a tabular report led by the figures asked for first; and four PivotTables under four linked slicers. The tables hold sales, and the lessons on Power Pivot and its measures need Excel for Windows.
- 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 plan: a wide export of budget sales and target units with a column per month, reshaped into a compact long table ready for the data model. An underwriting plan of premium targets by class and month has the same shape, and a month added to the plan later never breaks the query, since Unpivot Other Columns names no month.
- 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.
Should an insurance underwriter learn Power Pivot and DAX, or leave the data model to the MI team?
Learn them: the loss ratio behind your own rating decisions is then yours to cut by class, broker or year the moment a question comes up, with no wait for a report from anyone else. The Complete Excel Course with AI Integration from Coding Liquids teaches both on SalesFusion, an industry-standard project whose design came from talking with people across many different industries. Its second half is the model a book of business is read by: one fact table of transactions (Lesson 168), lookup tables related to it in Power Pivot's Diagram View (Lesson 169), and DAX measures for totals, ratios, distinct counts and shares of the total (Lesson 170), feeding PivotTables and a dashboard under shared slicers. This path gives you 10 lessons of it, 1 hour 6 minutes with the Power Query steps that label the rows and hand the table over. The lessons work on sales files, with a starter dataset and the finished workbook to compare against; a bordereau of premium and claims takes the same model.
Policies, claims, classes and brokers: which belong in the fact table, and which become lookup tables?
The rows that pile up go in the fact table; the lists that name each code once become lookup tables. The Complete Excel Course with AI Integration builds that shape in Lesson 168, where the Main Sales File gathers every transaction into one table, and in Lesson 169, where the product and region lists are related to it in Diagram View by dragging a code onto the same code: two one-to-many relationships, the 1 on the lookup side, the asterisk where the code repeats. On your files, the bordereau or policy listing, with a row per risk and its premium and claims, is the fact table; class codes with their descriptions, the broker panel and the territories are the lookups. From then on a PivotTable shows a class description or a broker's name beside every figure without one lookup formula, and a new broker needs a single row on the broker list rather than a column filled down again.
Our policy listing gives every policy its own loss ratio: why does a class need a DAX measure for its figure?
Because a class's loss ratio is its total incurred divided by its total premium, and an average of policy ratios gives a small risk with one bad claim the same weight as your largest account. The Complete Excel Course with AI Integration draws the line between the two places a calculation can live. Lesson 160 works out profit and margin row by row, as columns in Power Query; Lesson 170 writes Margin Percentage as a DAX measure with DIVIDE, worked out from the totals of whichever PivotTable cell it lands in. Your book splits the same way: labels and flags that belong to one row go in the query, and every ratio goes in a measure, defined once and right for a class, a broker, a territory or the whole book, with a blank in place of an error where nothing has been earned. That settles whether DAX or Power Query is better: each does the job the other cannot.
A claim with several payments, a policy with several locations: can measures count each one once for frequency and severity?
Yes, with DISTINCTCOUNT, which The Complete Excel Course with AI Integration uses in Lesson 170 for exactly this kind of repetition: an order holds a row for every product on it, and the Orders measure counts each order once however many rows it fills. Point the same function at a claim number and at a policy number, and both are counted once, whether a bordereau lists a claim on every payment line or a policy on every location. Two more measures follow with DIVIDE, the way the lesson's average order value divides total sales by orders: severity, incurred over the number of claims, and frequency, claims over the number of policies. Set beside the loss ratio on a class or broker table, they show whether a poor result comes from more claims or from bigger ones, which is the question any review of a class starts with.
Which brokers bring in most of our premium, and how much of the book rests on each one?
The Complete Excel Course with AI Integration teaches the measure that answers it. In Lesson 170, CALCULATE with ALL works out each category's sales as a share of the total, because ALL sets the category filter aside to reach the grand total. Write it for brokers and every broker's row shows its share of the premium in view: the whole book at first, then only one class's premium once that class is picked on a slicer, so the share always answers the right question. Sort the broker table by that measure and concentration shows at a glance, a handful of brokers carrying most of the book or a long tail of small ones. Lesson 172 adds the Top 10 value filter, so a dashboard table can hold only the largest brokers or accounts, and that short list redraws as the slicers move.
Can the model show the loss ratio for new business beside renewals?
Yes: give every policy its label before it reaches the model, and the loss ratio measure does the rest. The Complete Excel Course with AI Integration shows both kinds of label in Lesson 160: a Conditional Column that marks each sale High or Normal by its size, and a Custom Column that marks it Return or Sale by its sign. On your listing, a conditional column reads the policy's status and writes New or Renewal, and another can mark the claims above your large-loss figure. Load the table to the Data Model, put the label across the columns of a PivotTable or on a slicer, and the same measure works out each group from its own premium and claims, with no second formula. The query rebuilds the labels at every refresh, so next month's bordereau arrives already split into new and renewal business.
One broker's bordereau carries premium as text, with symbols and commas in the figures: will a SUM measure total it?
One fix in the query makes every month's figures total, and The Complete Excel Course with AI Integration shows it on this very fault. In Lesson 170 the first Total Sales measure fails Check Formula, the error is traced to the amount column stored as text, the type is fixed in Power Query and the measure is rebuilt. The clean-up itself sits earlier in SalesFusion, outside this page's path: Lesson 157 strips money symbols, commas and NA entries out of the amount columns, and Lesson 158 sets each one to Decimal Number. Lesson 168 adds a warning worth keeping: a whole number type would quietly round a figure, so premium and claims stay decimal. Set those steps once in the query that reads that broker's file, and every month's bordereau reaches the model as numbers, ready for the measures.
Several years of monthly bordereaux run to hundreds of thousands of rows: should they live on a sheet or only in the model?
In the model, and The Complete Excel Course with AI Integration teaches the loading choices that keep them there. Lesson 162 sets out where a query can go, connection only, a table on a sheet or the Data Model, with a rule worth pinning above the desk: load only the finished output into the grid, never each staging step, or the workbook grows slow and bloated. Lesson 168 holds the finished fact table as a connection, and Lesson 169 adds it to the Data Model with its lookups. The rows then live where PivotTables and measures read them, while the sheets hold only reports. Combine each month's file into the query, as Lesson 166 does with a folder of period files, and the history grows without any sheet scrolling past what a person could read.
Our underwriting committee reads the loss ratio before the premium: can the model's report be laid out in that order?
Yes, and The Complete Excel Course with AI Integration gives that ordering a lesson of its own. Lesson 171 turns a PivotTable drawn from the Data Model into a report read at a glance: each field in its own column in tabular form, grand totals switched off where they add nothing, and the measures reordered so profit and margin lead, because those are what stakeholders ask about first. For a committee, the loss ratio leads, then incurred, then premium, each in the format the paper expects, with ratios shown as percentages. Lesson 172 then spreads the same measures over four PivotTables, by category, by region, a monthly trend and a top-ten list, with slicers tied to all four through Report Connections, so a committee member's own question, one territory or one year, moves the whole sheet. Every table reads the same measures, so no two of them can disagree.
Every insurance DAX example online is built in Power BI: what does an underwriter gain by building the model in Excel?
The same model and the same DAX, inside the program your rating sheets and referral log already live in. Power Pivot keeps a data model in the workbook, with relationships and measures of the very kind Power BI runs on, so The Complete Excel Course with AI Integration teaches what those insurance tutorials take for granted: tables related in Diagram View (Lesson 169) and measures written in DAX (Lesson 170). Excel adds familiar ground around them: PivotTables, slicers and formatting you already know, a report that sits beside the workbook it serves, and no second application to learn before the first measure works. Power BI itself is not taught, yet a SUM, a DIVIDE or a DISTINCTCOUNT written here reads exactly the same there, so nothing is lost if the insurer's reporting moves to Power BI later.
Before a loss ratio from the model goes into a referral or a committee paper, how do I know it is right?
The Complete Excel Course with AI Integration builds three checks into SalesFusion, and each one fits an underwriting model. Lesson 161 makes a QA query that totals the sales and counts the rows for every month and region, biggest first, so each total can be set against the source system's own figure and a number that looks too good stands out. Lesson 168 checks the finished table after its merges and appends, filtering key and amount columns for nulls, because joins can let blanks in. Lesson 170 runs Check Formula on a measure and traces a failure to its cause. Applied to a bordereau, that means premium and claims tied to the source by month and class, no policy left without a class or a broker, and every measure checked before a figure carries your name into a referral.
Underwriting year or accident year: can one claims table be reported both ways?
Yes, by giving each claim a year column for each date, and The Complete Excel Course with AI Integration teaches the step that makes them. Lesson 159, outside this page's path, adds year, month name, month number, month start and year-month columns from one date column in Power Query, each renamed for reports. Run it on the inception date and again on the date of loss, name the results UW Year and Accident Year, and every claim carries both. In the model, either year goes on the rows of a PivotTable or on a slicer, and the same incurred and loss ratio measures answer for whichever view the review wants, with nothing written twice. Keep the month number too: without it months sort alphabetically, April ahead of January, and the monthly trend on Lesson 172's dashboard reads out of order.
I write rating formulas with XLOOKUP and SUMIFS but have never coded: how hard is DAX, and which functions come first?
Easier than its reputation, because the measures a book of business needs are short. The Complete Excel Course with AI Integration writes its measures in Lesson 170 with a handful of functions: SUM for totals such as sales and profit, DIVIDE for ratios such as margin percent and average order value, DISTINCTCOUNT to count each order once, and CALCULATE with ALL for a share of the total. Those few give an underwriter premium, incurred, loss ratio, frequency, severity and each broker's share of the book. Each measure is typed once in Power Pivot's New Measure box, checked with Check Formula, and then works in every PivotTable cell it lands in: SUMIFS without the grid of criteria. With the instructor support plan, a question about a measure on your own bordereau goes to the instructor, and the answer comes back in writing.
Before the next business plan round, how far away is a working model of our own book, and which PC does it need?
About 1 hour 6 minutes of lessons, on a Windows PC for the model itself. The Complete Excel Course with AI Integration names Windows for Power Pivot in its requirements, so the lessons where Power Pivot relates the tables and measures them, Lesson 169 and Lesson 170, need Excel for Windows. The path runs in the order your own build follows: labels and checks in the query, the handover to the Data Model, relationships, measures, the report and the dashboard, then the plan grid unpivoted ready to join them. Rebuild each step on your own bordereau as you go and the model is yours by the last lesson, with the SalesFusion files to compare against at every stage. Lifetime access keeps the lessons open for the next change to the plan, and finishing the course earns a Certificate of Completion with a verification link an employer can check.
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 underwriters
- XLOOKUP and VLOOKUP for underwriters
- PivotTables for underwriters
- Excel charts for underwriters
- Excel dashboards for underwriters
- Conditional formatting for underwriters
- Data cleaning for underwriters
- Data validation for underwriters
- Excel tables for underwriters
- Text functions for underwriters
- Macros and VBA for underwriters
- Power Automate for underwriters
- Claude in Excel for underwriters
Power Pivot and DAX for other jobs
- Power Pivot and DAX for auditors
- Power Pivot and DAX for payroll admins
- Power Pivot and DAX for bankers
- Power Pivot & DAX in management accounts
- Power Pivot and DAX for controllers
- Power Pivot and DAX for credit control
- Power Pivot and DAX for AP clerks
- Power Pivot and DAX for planners
- Power Pivot and DAX for every job