Free course · 16 lessons

Free Power Pivot and DAX course for Excel

Build a Data Model, link tables and write DAX measures: CALCULATE, filter context, iterators and time intelligence, with every result worked out on real tables.

Start lesson 1

Beginner

  1. 1What is Power Pivot? Versions, enabling the add-in and a first lookWhat Power Pivot and the Data Model are, which Excel versions include them (Windows only), how to enable the add-in and a tour of the window.15 min
  2. 2The Data Model and relationships: star schema and filter directionFact and dimension tables, the star schema, one-to-many relationships, how filters flow from the one side to the many side, and active vs inactive links.18 min
  3. 3Importing data into the Data Model: tables, Power Query and databasesEvery way to load data into the Data Model: linked Excel tables, the PivotTable checkbox, Power Query connections and Get External Data, plus size tips.16 min
  4. 4Calculated columns vs measures in Power PivotWhen DAX belongs in a calculated column and when in a measure, why percentage columns give wrong totals, implicit vs explicit measures, naming rules.16 min
  5. 5Your first DAX measures: SUM, AVERAGE, COUNTROWS, DISTINCTCOUNTCreate DAX measures in Power Pivot step by step: the Measure dialog, the Calculation Area, SUM, AVERAGE, COUNTROWS, DISTINCTCOUNT, MAX and DIVIDE.18 min

Intermediate

  1. 6Filter context and row context in DAXThe two DAX contexts explained with numbers: how PivotTable filters reach a measure, how row context works in columns, and context transition.18 min
  2. 7CALCULATE: changing the filter context in DAXLearn DAX CALCULATE with worked PivotTable results: adding and replacing filters, KEEPFILTERS, AND/OR conditions, and FILTER for conditions on measures.20 min
  3. 8Removing filters: ALL, ALLEXCEPT, ALLSELECTED and REMOVEFILTERSPercent of total, of category and of selection in DAX: how ALL, ALLEXCEPT, ALLSELECTED and REMOVEFILTERS remove filters inside CALCULATE.20 min
  4. 9Iterators in DAX: SUMX, AVERAGEX, MAXX and RANKXRow-by-row DAX: SUMX for cost and margin, AVERAGEX per customer, MAXX, CONCATENATEX and ranking products with RANKX and HASONEVALUE.20 min
  5. 10RELATED and RELATEDTABLE: working across relationshipsUse DAX RELATED to fetch values from lookup tables and RELATEDTABLE to count and sum related rows, build customer tiers, and when to use LOOKUPVALUE.18 min
  6. 11Building a calendar (date) table for Power PivotCreate a proper date table for the Data Model: Date Table › New, SEQUENCE or Power Query, calculated columns, Sort by Column and Mark as Date Table.18 min

Advanced

  1. 12Time intelligence in DAX: TOTALYTD, SAMEPERIODLASTYEAR, DATEADD, DATESINPERIODYear-to-date, last year, month-on-month and rolling three-month measures in Power Pivot, with a marked date table and checked results.22 min
  2. 13Variables, DIVIDE and error handling in DAXWrite readable, fast and robust DAX with VAR and RETURN, safe division with DIVIDE, blank handling, SWITCH(TRUE()) and a growth measure that copes with gaps.20 min
  3. 14KPIs and hierarchies in Power PivotCreate Power Pivot KPIs with a target measure and traffic-light status, build Category › Product and date hierarchies, and write a percent-of-parent measure.18 min
  4. 15Cube functions: free-form reports from the Data ModelBuild flexible Excel reports on Power Pivot with CUBEVALUE, CUBEMEMBER, CUBESET and CUBERANKEDMEMBER: Convert to Formulas, slicers and top-N lists.18 min
  5. 16Project: a sales dashboard with Power Pivot and DAXBuild a complete sales dashboard on the Data Model: tables, calendar, relationships, a library of DAX measures, cube-formula cards, PivotTables and slicers.30 min