The Complete Excel Course with AI Integration

Power Query for MIS analysts

An MIS report is only as fast as the clean-up behind it: branch files to stack, master data to look up, codes keyed three ways, totals to prove before anything goes out. The Complete Excel Course with AI Integration teaches MIS analysts to give all of that to Power Query on SalesFusion, an industry-standard project, and the lessons chosen here follow a reporting morning: import and clean, rules and checks, merges and appends, a folder of files, a fact table and Unpivot.

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:

  • Stack every branch or period file saved in a folder into one cleaned table with From Folder, with a column naming the branch file behind each row.
  • Bring branch, product and region names in from master tables through a left outer join that keeps every export row, then hunt down the blanks that mark codes the master lacks.
  • Run a QA query alongside the staging one, grouped by month and region with sales totals and row counts, so every refresh shows the numbers to compare with the system's own.
  • Write the report's rules into the query as custom and conditional columns, so every refresh labels high-value rows and returns the same way.
  • Bring keying differences to one standard: words in a number column, rates typed two ways, codes in mixed capitals and stray spaces.
  • Put only the finished table on a sheet, hold staging queries in the background, and point an entire pipeline at a renamed or moved export by editing its Source step alone.
  • Turn another team's sheet with months across the top into tall rows, one per period, that line up with your own data.

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.

    An ETL project on deliberately messy CSV exports, it gives an MIS analyst every stage of a daily pipeline: staging and QA queries, master data merged in, history appended, period files combined from a folder and one fact table held as a connection for the report.

  • Project 05

    SalesPlusPerformance

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

    The PivotTable project where a clean table ends up: summaries by region, category and month, slicers for each manager's own view, and Refresh All, the button that brings queries and pivots up to date together.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built around lookups on HR data, it is the formula version of a merge: VLOOKUP, XLOOKUP and INDEX with MATCH, worth knowing well before a query takes that job over for a daily export of thousands of rows.

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 17 of them, 1 h 36 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 153 SalesFusion Power Query project

Begin at Lesson 153 once your exports sit in Excel tables and PivotTables are routine: SalesFusion sets out the whole pipeline first, then builds it stage by stage. If tables are unfamiliar, Lesson 19 covers them, and the PivotTables the report needs start at Lesson 57; complete beginners open the course at Lesson 1. If imports and clean-up in Power Query are familiar ground, skip ahead to Lesson 161, where the QA query, the merges and the folder routine take over.

17 of 186 lessons · 1 h 36 min

15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 13 min The pipeline before the first click: ETL as steps recorded once and replayed on every file, the advice to keep every source file in one project folder so connections hold, and a CSV brought in with Transform Data rather than Load, the choice that makes the import repeatable.
  1. 153 Start here SalesFusion Power Query project Excel ETL pipeline and data model overview 5 min
  2. 154 Introduction to Power Query in Excel The ETL workflow explained 5 min
  3. 155 Import a CSV with Power Query Get data from text and transform data 2 min
15 SalesFusion: advanced data tools and a Power Query modelling system 5 of 21 lessons · 30 min The clean-up every morning's export needs: temporary columns dropped and headers renamed without spaces, codes trimmed and upper-cased, symbols, NA entries and errors replaced, numbers and dates set to proper types, period columns added, then profit, margin and high-value labels as custom and conditional columns, and repeated keys removed.
  1. 156 Clean columns in Power Query Remove and rename columns for modelling 5 min
  2. 157 Clean text in Power Query Trim, clean, replace values and fix text case 6 min
  3. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  4. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
  5. 160 Business logic in Power Query Custom and conditional columns for profitability 6 min
15 SalesFusion: advanced data tools and a Power Query modelling system 2 of 21 lessons · 10 min Proof and housekeeping: a reference query that groups the staging data by month and region into total sales and row counts, biggest first, so a figure that looks too good stands out, then the loading decision: staging and QA queries kept in the background as connections, and only the table the report reads placed on a sheet.
  1. 161 Group By in Power Query Summarise sales by month and region to validate data 5 min
  2. 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 3 of 21 lessons · 14 min Master data and history: product and region names merged in with a left outer join so no sales row is lost, the other join kinds compared, the whole pipeline pointed at the next year's file by changing its Source step, and both years stacked into a single query with Append.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 min
  2. 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
  3. 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system 3 of 21 lessons · 22 min The folder routine: every period file in a folder combined and cleaned by the same steps, column profiling switched to the entire data set, profit and fiscal year columns added for every file, then the lookups and the earlier years joined into a single fact table, checked for nulls and kept as a connection.
  1. 166 From Folder in Power Query Combine every sales file in a folder automatically 9 min
  2. 167 From Folder automation in Power Query Profit metrics and fiscal year columns 7 min
  3. 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 1 of 21 lessons · 8 min Unpivot for sheets laid out sideways: one column per month swung down into rows of period and figure, the month headers made into real dates, the metrics pivoted back into columns of their own and the result grouped by month.
  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 MIS analysts use Power Query in daily reporting, and which course teaches the whole routine from export to refreshed report?

As the engine between the system and the report, and The Complete Excel Course with AI Integration from Coding Liquids teaches every stage of it on SalesFusion, an industry-standard project designed after talking with people from many different industries. A query imports an export and cleans it with steps recorded once (Lesson 155 to Lesson 159); custom columns apply the report's rules (Lesson 160); a reference query totals and counts the load for checking (Lesson 161); merges bring in master data (Lesson 163); a folder query takes in every new branch or period file at a refresh (Lesson 166). The 17 lessons picked out here, 1 hour 36 minutes of building, end with one fact table held as a connection, ready for PivotTables and a data model, and a morning routine of copy and paste that comes down to pressing Refresh.

Each branch sends its own file in the same layout: can Power Query stack them all, and show me which branch each row came from?

Yes, straight from a folder, and The Complete Excel Course with AI Integration adds the check that tells you when one branch's file is out of line. Lesson 166 points Get Data at a folder and uses Combine and Transform: every file is stacked into one table, and the Source.Name column records the file each row came from, which for branch files is the branch itself. The cleaning is set once in the sample file and applies to every file in the folder, today's and the ones saved tomorrow. Column profiling is then switched from the first thousand rows to the entire data set, and the quality and distribution views show at once whether the stacked data holds blanks, errors or a stray value, with Source.Name to say which branch sent it. Lesson 153 adds the practical rule: keep every source file in the one project folder, or the connections break. Consolidation becomes a refresh, and a faulty branch file shows itself before it skews a total.

Which join should I pick when I merge the branch master into the export, and why does it matter to my totals?

Left outer, and The Complete Excel Course with AI Integration shows why before you need it. Lesson 163 merges the sales query with the product and region lookups on their codes using a left outer join, which keeps every row of the export and fills the master's columns only where a code matches, so no transaction drops out of a total because its code was missing from the master. Lesson 164 reads through the other join kinds on the list, right outer, full outer and inner among them, and keeps left outer for that reason; an inner join would quietly drop every unmatched row, and the day's total with it. Lesson 168 closes the loop: after merges and appends, the key columns are checked for nulls, because a blank where a name should be is a code the master does not know yet. For an MIS analyst, that is the difference between a complete report and a short one.

Can I keep a check query beside the main one, so every refresh shows me totals and row counts by month and branch?

Yes, and The Complete Excel Course with AI Integration builds exactly that in Lesson 161. The main query is renamed as the staging query, and a Reference to it becomes a QA query, still wired to its source so every later change flows through. Group By in Advanced mode groups it by year-month and region code, totals the sales and counts the rows, sorts the totals largest first and keeps only groups that hold rows. Two things jump out of that layout: a figure that looks too good, since one region outselling everyone else is usually a typo, and a null month, which comes from an unreadable date in the raw file. Lesson 162 then keeps the QA query as a connection, out of the way until you want it. For an MIS analyst, that is branch and month totals to set against the system's own report every morning, rebuilt at each refresh.

Our report tags high-value cases and returns by rule: can those rules live in the query rather than on the sheet?

Yes, and there they run the same way on every refresh, which is the point The Complete Excel Course with AI Integration makes in Lesson 160. A custom column works out profit from sales and cost; a second gives the margin, returning null when sales are blank or zero so nothing divides by zero; a conditional column labels every row High or Normal at a threshold; another marks negative amounts as returns. Null checks on the ID columns and Remove Duplicates on the order and product keys finish the step. Written into the query, a rule cannot be overwritten, forgotten on a new row or applied differently in two reports, because every report reads the same column. The folder query repeats the same rules for each period file (Lesson 167). Your report's own rules, SLA bands, priority flags or channel labels, slot into the same custom and conditional columns.

Branches key the same figure in different ways, a quantity as a word, a rate as 15 or as a fraction: can one query bring them to one standard?

Yes, and The Complete Excel Course with AI Integration works through exactly those faults in Lesson 158. Quantities written as words are spotted in the column's filter list and replaced with Replace Values, then the column becomes a whole number, since nobody sells half a unit. The discount column loses its per cent signs and stray hyphens and becomes a decimal number, and a custom column then sets one scale: any value above one is divided by a hundred, so a rate keyed as 15 and one keyed as a fraction end up alike. Money columns held as text become decimal numbers, because Power Query cannot total text, and a report built on text columns looks fine while calculating wrong. Once those steps are saved, every branch's next file is brought to the same standard at the refresh, with nobody retyping a cell.

Region codes arrive in mixed capitals from different branches: why does that matter in Power Query when my PivotTables ignore it?

Because Power Query reads capitals as different text, and The Complete Excel Course with AI Integration makes that a point of Lesson 157. To a query, North and NORTH are two regions: a step that groups or merges on the code treats them as separate values, so a code in the wrong case can miss its match in the region master and come back blank. PivotTables and SUMIFS read them as one, which is why the problem hides until the data passes through a query. The lesson fixes it at the source: Trim removes stray spaces, then UPPERCASE sets every region and product code in one case, before any merge runs. The same lesson replaces money symbols, commas and NA entries, and catches cells holding the word error, which Replace Errors would miss. Set the case once, and every branch's codes line up with the master at every refresh.

Another team sends its MIS sheet with the months across the top: can I combine it with my row-by-row data?

Yes, after one transformation that The Complete Excel Course with AI Integration teaches in Lesson 173: Unpivot. The lesson's file holds a column for every month. With the descriptive columns selected, Unpivot Other Columns swings all the others down into two columns, a period and a figure, without naming a single month, so a column the other team adds next month needs no change to the query. The period text then becomes a proper month-start date, since a query cannot calculate with dates held as text; the metrics are pivoted back into columns of their own, and the result is grouped by month into a compact table. In that tall shape the other team's numbers line up with your own data period by period, ready for the same PivotTables, merges and appends you already run, and they keep lining up at every refresh.

Should every query land on a worksheet, or only the final table my report reads?

The final table alone, and The Complete Excel Course with AI Integration calls it the golden rule in Lesson 162. Every query built to stage or check the export is a working part, not something a manager needs to see. The lesson shows what happens otherwise: the first load writes each query to a sheet of its own, so the staging and QA queries are switched to connections and their sheets deleted, leaving a clean, empty workbook that still holds both queries in the background, previewable from the Queries pane. The pipeline keeps to the rule right to its end, where the finished fact table is held as a connection for the model (Lesson 168). An MIS workbook built this way opens quickly, carries one table worth reading, and never lets a half-cleaned staging sheet be mistaken for the figures that went to management.

The system starts saving the export under a new name or in a new place: do I have to rebuild the query?

One step changes and every other step follows, as The Complete Excel Course with AI Integration shows in Lesson 164. A finished pipeline is duplicated and only its Source step is edited, through the gear icon beside it, to point at the next year's file; every cleaning, typing and merging step then runs on the new file untouched. The same move handles an export that has been renamed or moved: point the Source step at it and refresh. The lesson adds two cautions worth keeping: audit the new file anyway, since it arrived with nulls of its own in the date column, and keep every source file in the folder the pipeline expects, the advice Lesson 153 gives because connections break when files wander. A system change that once meant a day of rebuilding becomes a quick repair, and the report goes out on time.

Should my report's calculations live in Power Query or in DAX measures?

Each in its own place, and The Complete Excel Course with AI Integration teaches both so the line is clear. Power Query is for what belongs to each row: profit, margin, a high-value flag or a return marker, worked out once per transaction and saved with the data (Lesson 160), the same at every refresh. DAX measures are for totals that must respond to whatever a manager picks: total sales, margin percentage, percent of total and an order count that counts each order once, recalculated for every filter and slicer (Lesson 170). The course's own summary fits an MIS workbook well: Power Query cleans the data, and Power Pivot connects it so the measures can answer questions. The measures and the data model run in Power Pivot, which needs Excel for Windows; everything on this page's own path runs in Power Query, built into Excel.

People call Power Query SQL for Excel users: how close is that, and do I need SQL first?

Close in what it does, and The Complete Excel Course with AI Integration needs no SQL from you at all. Power Query's steps line up with the operations a database person knows: a merge is a join, and the lessons choose a left outer one (Lesson 163); an append stacks one table on another (Lesson 165); Group By totals and counts by group (Lesson 161); filters and removed columns trim what comes through. The difference is how you ask: in Power Query you click, and each click is saved as a named step in Applied Steps (Lesson 156), readable and reversible, with only a short formula to type in a custom column. Connecting a query straight to a database is not part of the lessons, which work from the CSV exports and folders an MIS role usually receives; the cleaning, merging and appending you learn work the same whatever the source.

Where does Power Query sit among the Excel skills an MIS executive needs?

On top of the everyday ones, and it changes what the job feels like; The Complete Excel Course with AI Integration places it exactly there. Tables, SUMIFS and COUNTIFS, lookups and PivotTables build a report by hand, and the course teaches them first. Power Query then takes over the part that repeats: the import, the clean-up, the master data and the consolidation, recorded once and replayed at each refresh. After it come the data model and DAX in Power Pivot on Windows, VBA that checks a sheet before it goes out, and Power Automate Desktop, also on Windows, for the weekly routine, all in the same course. With Power Query in hand, an MIS executive stops rebuilding the report every morning and starts maintaining the system that builds it. Lifetime access keeps the lessons open for each new export, and completing the course earns a Certificate of Completion.

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.