The Complete Excel Course with AI Integration
Power Pivot and DAX for tax accountants
Tax work in Excel is often held together by lookup columns: the register on one sheet, rate and account mappings on others, VLOOKUP down every row and a SUMIFS in each summary cell. The Complete Excel Course with AI Integration replaces that tangle with a Power Pivot data model you build in SalesFusion, one of its industry-standard projects. The lessons here run from period and tax-year columns through control totals to relationships, DAX measures and a sliced report.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Load a register, a tax-code table and an entity list into the Excel Data Model as connections, so a full year of invoice lines never has to sit on a worksheet.
- Relate the register to its lookup tables with one-to-many relationships on the code, dragged into place in Diagram View, instead of the VLOOKUP columns that join them today.
- Write DAX measures for the figures a computation needs: total tax and taxable value with SUM, and an effective rate with DIVIDE, which shows a blank instead of an error where nothing is taxable.
- Show each rate's share of a period's tax with CALCULATE and ALL, and count invoices rather than invoice lines with DISTINCTCOUNT.
- Give every row its return period and its tax year in Power Query, with year-month and fiscal year columns, so the model reports by either.
- Lay out a tax summary from the Data Model in tabular form, with the measures in the order a reviewer reads them and grand totals switched off where they add nothing.
- Link slicers for entity, rate and period to every PivotTable of a summary through Report Connections, so one click narrows the whole report.
- Trace a measure that will not calculate to an amount column held as text, and fix it in the query where the fault began.
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 from a folder of messy sales exports, it ends in the model a tax summary rests on: one fact table of transactions, two lookup tables related to it in Diagram View, six DAX measures and four PivotTables answering to one set of slicers. Put your register where the sales table stands and your tax-code table where the products sit, and the design carries over whole.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales data, it gives the PivotTable habits every Data Model report reuses: fields placed in rows and values, dates grouped by month, slicers and Refresh All, practised on a single table before a model joins several.
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 21 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 PivotTables and SUMIFS already carry your tax summaries: SalesFusion opens on its finished report and then builds towards the model in the order a tax analysis wants, period fields first and measures last. Someone who has never built a PivotTable does better to work through Lesson 57 to Lesson 65 beforehand, and a complete newcomer to spreadsheets should open the course at Lesson 1. Comfortable cleaning downloads with Power Query already? Jump to Lesson 168, where the fact table is finished, and enter Power Pivot at Lesson 169.
12 of 186 lessons · 1 h 21 min
15 SalesFusion: advanced data tools and a Power Query modelling system The finished SalesFusion report first, a business view whose slicer choices also drive a detail sheet, then the plan behind it: Power Query to clean the files, a data model to map how the tables relate and DAX to measure them. Seeing the end point first makes each later step easy to place in a tax workflow.
- 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 Period fields for returns: placeholder text and an impossible date cleared, the column given a true date type, then Year, MonthName, MonthNumber, MonthStart and YearMonth added, so the model can report by return period with months in calendar order.
- 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 Rules and proof before anything is modelled: Custom Column and Conditional Column steps that label each row (a negative amount is marked as a return, as a credit note would be), a Group By control query of total sales and row counts for each month and region, and the Close and Load options that hold staging queries as background connections and pass only finished tables on.
- 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 fact table the model reads: a folder query that stacks every period file and takes in the next one on refresh, fiscal year columns so each row knows its financial year, then lookups merged and history appended into one Main Sales File, checked for nulls and held as a connection for the data model.
- 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
- 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
- 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 and DAX themselves, lessons that need Excel for Windows: three tables loaded to the Data Model and related one-to-many in Diagram View, then six measures written with SUM, DIVIDE, CALCULATE, ALL and DISTINCTCOUNT, with Check Formula used to trace an error back to its source.
- 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 What a reviewer sees: a tabular report by category from the Data Model, led by profit, with grand totals off and the measures in reading order, then a dashboard of four PivotTables that four slicers filter together through Report Connections.
- 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.
Can Power Pivot and DAX produce the schedules behind a tax return, and where does a tax accountant learn to build them?
Yes: a data model turns one register into rate, period and entity schedules that rebuild themselves, and The Complete Excel Course with AI Integration from Coding Liquids has you build such a model in SalesFusion, its industry-standard project for Power Query and Power Pivot, designed after talking with people from many different industries. You load three tables to the Data Model and join them with two one-to-many relationships in Diagram View (Lesson 169), write six DAX measures from a plain total to a share of the total (Lesson 170), then format a report and a dashboard of four PivotTables under one set of slicers (Lesson 171, Lesson 172). The lessons model sales transactions; a purchase register related to a tax-code table and an entity list has the same three-table shape. The 12 lessons picked out here, 1 hour 21 minutes of viewing, stamp each row with its return period and tax year first, and the finished workbook comes with the course to check your build against.
My tax summaries already run on SUMIFS and VLOOKUP: what changes once the register sits in a data model?
Three things change, and each one saves time every period. The joins first: a relationship drawn once in Diagram View (Lesson 169) does the work of a VLOOKUP filled down thousands of rows, and it never needs filling again when the register grows. Then the totals: a DAX measure in The Complete Excel Course with AI Integration (Lesson 170) is written once in the model and recalculates for every filter and slicer, where a SUMIFS grid needs a formula in each cell and a new column whenever a new rate appears. Last, the weight of the file: Lesson 162 keeps working queries as connections, so a year of invoice lines lives in the model rather than on a sheet, and the workbook stays quick to open and send. SUMIFS and VLOOKUP stay the right tools for a small one-off schedule; the model is for the register you report from every period.
Which DAX functions will I learn, and what would each one do on a tax file?
Five, each met inside a measure you build in Lesson 170 of The Complete Excel Course with AI Integration. SUM gives the plain total: the lessons write Total Sales with it, and on your file it becomes total tax or total taxable value. DIVIDE works out a ratio and returns a blank, not an error, when the bottom figure is zero: the lessons use it for margin percentage and average order value, and it suits an effective tax rate, where a nil-rated line would otherwise leave an error in the summary. CALCULATE with ALL lifts a filter to reach the grand total, which is how a share of the total is built, so each rate's share of the period's tax follows the same pattern. DISTINCTCOUNT counts each order once although an order has a row per product, exactly the trouble with invoices of several lines. Between them, these five carry the measures a tax summary leans on most.
Can a report from the model split tax by rate or code when the rates sit in a separate table?
Yes, and the separate table is exactly why it works. In The Complete Excel Course with AI Integration, Lesson 171 builds the SalesFusion report by dragging Category from the products lookup table to Rows while the measures come from the sales table, and the relationship made in Lesson 169 carries every figure to its category. Put your tax-code table where the products table stands, with a column for the rate and one for its description, and the same drag splits total tax, taxable value and effective rate by code, with no SUMIFS and no helper column on the register. Add a treatment column (standard, reduced, exempt or out of scope) and the summary regroups by treatment with one more drag. The lesson then sets the report in tabular form with grand totals off and the measures in reading order, the layout a computation schedule wants.
Our purchase register has a row for every invoice line: can a measure count invoices, not lines?
Yes: DISTINCTCOUNT does exactly that, and the SalesFusion lessons of The Complete Excel Course with AI Integration meet the very same problem. In the SalesFusion data an order has a row for each product it holds, so counting rows overstates the orders; Lesson 170 writes an Orders measure with DISTINCTCOUNT on the order ID, which counts each order once however many lines it has. Point the same measure at the invoice number in your register and the PivotTable shows how many invoices stand behind each rate, supplier or period, while the tax measures beside it still total every line. Paired with DIVIDE it gives an average value per invoice, the measure the lessons call AOV. When a reviewer asks how many invoices a claim rests on, or a period shows suspiciously few, the answer arrives with every slicer click instead of a separate COUNTIFS exercise.
Which tables would a tax model hold, and how does the course show them joined?
A register of lines at the centre and a lookup table for each way you report, the layout The Complete Excel Course with AI Integration builds in Lesson 169. There the Main Sales File, one row per sale, sits in Diagram View between a products table and a regions table, and a drag from code to code makes each relationship: one-to-many, with a 1 on the lookup side, where every code appears once, and an asterisk on the side of the transactions. For tax work the centre is the purchase or sales register, one row per invoice line, carrying its return period and fiscal year from Lesson 159 and Lesson 167; around it sit a tax-code table with rate, description and treatment, a supplier table keyed on tax number and an entity table. Lesson 168 shows the centre assembled from history and folder data before the model is built. Keep every code unique in its lookup table and the joins hold cleanly.
Should the tax on each invoice line be worked out in the query or in a DAX measure?
In the query, as a column, with the totals left to measures; The Complete Excel Course with AI Integration covers each half. Arithmetic on every row belongs in Power Query: Lesson 160 adds Profit as a custom column that takes cost from sales on each line, and a calculated-tax column is the same kind of step, the net amount multiplied by a rate brought in from your tax-code table with a merge (Lesson 163). Totals and ratios belong in measures: Lesson 170 sums a column into a measure and divides one measure by another, so the model can set calculated tax beside the tax each invoice states, rate by rate or supplier by supplier, and wherever the two columns part, the PivotTable shows you where to look. A rule written once in the query runs identically on every refresh, and a measure answers to every slicer, so each piece of logic sits where a reviewer expects to find it.
A new DAX measure refuses to calculate: will I know how to find the cause?
Yes, because The Complete Excel Course with AI Integration stages exactly that failure and finds its cause in front of you. In Lesson 170 the first measure, a SUM of the sales amount, will not calculate; Check Formula in Manage Measures points the trouble at an amount column stored as text, the column is given a number type back in Power Query, and the measure, built again, works. Tax downloads from portals and accounting systems often carry the same fault: figures that look like numbers but are held as text, which no SUM can total. Fixing the type in the query rather than on a sheet means every later download arrives right and the measures never meet the problem again. The habit reaches further back too: Lesson 168 checks the fact table for nulls before the model and keeps Profit as a decimal, since a whole number type would quietly round it.
Next month's portal download lands in the folder: will the measures and slicers pick it up on a refresh?
Yes: a refresh carries the new period through the queries into the model, with no formula touched. The fact table built in The Complete Excel Course with AI Integration is fed by a folder query from Lesson 166, which takes in any new file saved to that folder, and Lesson 168 appends the folder data to the earlier history in one Main Sales File, held as a connection for the data model. The relationships and measures of Lesson 169 and Lesson 170 are defined on whole tables, not on fixed ranges, so they cover the new rows by themselves, and the slicers of Lesson 172 simply gain a new period to pick. Month end becomes a short routine: save the download, refresh, read the summary. The new file must keep the columns of the earlier ones, as downloads from one portal normally do.
Each company in the group sends its own register: can one model hold them all and still report company by company?
Yes: stack the registers once and let a slicer pick the company, two moves The Complete Excel Course with AI Integration covers in full. The folder query of Lesson 166 stacks all the registers saved in one folder, and its Source.Name column records which file, and therefore which company, supplied each row: a register per company becomes one fact table that still knows its source. Relate a company code on each row to a small entity table, as Lesson 169 relates region codes to their lookup, and Lesson 172 supplies the rest: slicers linked to every PivotTable through Report Connections, so one click shows a single company's tax by rate, period and supplier, the next click another's, and a cleared slicer the whole group. Each company's file must follow one column layout, as exports from a single accounting system do. Matching styles across tables and slicers, set in that lesson, ready the result for a group review.
A DAX measure sits in no cell: where does a reviewer see what it does?
In Manage Measures, where every measure in The Complete Excel Course with AI Integration is created, named and edited (Lesson 170). A reviewer opens it, reads the formula behind Total Tax or Effective Rate and tests it with Check Formula, and because one definition serves every PivotTable that uses the measure, the rule is checked once rather than cell by cell across a schedule. Diagram View (Lesson 169) shows the other half of the logic, how the tables join, with a 1 on the lookup side of each relationship and an asterisk on the register side. Earlier still, Lesson 161 sets up a Group By check that sums sales and counts rows for every month and region, a control figure to tie to the portal or the ledger before anything is reported. Plain measure names finish the job, so the report explains itself on the page.
Our practice runs on Macs: how much of this path can I follow?
The whole preparation half, on the Mac you already use. In The Complete Excel Course with AI Integration the Power Query lessons on this page, from the period columns of Lesson 159 through the folder query to the fact table of Lesson 168, run in Excel on Windows or Mac alike. Power Pivot is the exception the course's requirements name: building the data model and writing its DAX measures, in Lesson 169 and Lesson 170, need Excel for Windows. A practice on Macs has two good routes: prepare and check each register on the Mac and build the model on one Windows PC in the office, or watch the modelling lessons first and build along when a Windows machine is free. Lifetime access keeps every lesson ready for whichever route suits the season, and the SalesFusion practice files come with it.
Is DAX learnt in Excel any use if the firm moves its reporting to Power BI?
Yes: DAX is the formula language of Power BI as well as of Power Pivot, so the measures you learn to write in The Complete Excel Course with AI Integration carry straight across. Lesson 170 teaches the habits that matter in both: a measure as one named definition, DIVIDE to keep errors out of ratios, CALCULATE with ALL for a share of the total, and DISTINCTCOUNT to count each document once. The modelling carries over too: Lesson 169 has you place a fact table between its lookup tables and relate them one-to-many, the same star shape a Power BI model is built on. Power BI's own screens and publishing are not taught; the course keeps you in Excel, where your registers and workpapers already live, on an industry-standard project. Learn the model here and Power BI starts from familiar ground rather than from nothing.
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
- Formulas for tax accountants
- XLOOKUP and VLOOKUP for tax accountants
- PivotTables for tax accountants
- Excel charts for tax accountants
- Excel dashboards for tax accountants
- Conditional formatting in tax accounting
- Data cleaning for tax accountants
- Data validation for tax accountants
- Excel tables for tax accountants
- Text functions for tax accountants
- Date functions for tax accountants
- Dynamic arrays for tax accountants
- Power Query for tax accountants
- Macros and VBA for tax accountants
- Power Automate for tax accountants
- Copilot in Excel for tax accountants
- ChatGPT for Excel for tax accountants
- Claude in Excel for tax accountants
Power Pivot and DAX for other jobs
- Power Pivot and DAX for bookkeepers
- Power Pivot and DAX for FP&A analysts
- 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 every job