
Demystify DAX for advanced Power BI reporting by learning how the DAX engine works and how to author your own formulas to solve complex data analysis problems in Power BI.
Explore DAX, a functional language used in Power BI, Excel, Power Pivot, and SSAS, with Excel-like functions and operators and tools such as DAX Studio and Tabular Editor.
Learn how DAX creates calculated columns and tables, builds calendar tables for time intelligence, writes measures, and enables row level security to enhance Power BI reports.
Explore creating calculated columns, calculated tables, measures, and row-level security on the Sample Super Store data, including orders, customers, shipments, and product categories.
Create a calculated column in Power BI by deriving costs from sales minus profits in the orders table. Use table-qualified syntax and recognize calculated columns as derived, not imported data.
Master Power BI DAX measures by creating a revenue measure that sums orders sales, shows results in visuals, and demonstrates the portability of measures and their independence across tables.
Explore how all and allexcept control tables in DAX to return all rows or a unique list of values, and contrast table functions with scalar functions.
Create a revenue measure in DAX and explore how filter context shapes its results in visuals, breaking revenue down by region, category, and customer segment.
Learn how aggregators and iterators in DAX work, from sum and count to sumx and averagex, and why iterators offer row by row calculations for powerful measures.
Learn how sum works on a column and why sumx enables row context calculations for columns and measures, using orders table to compute revenue and costs from sales minus profit.
Explore how DAX computes filtered aggregates by combining segment and region filters within the filters context, and distinguish external versus internal filters, using slicers, tables, and the filter function.
Master the DAX calculate function, the only tool that can completely alter the filter context, by exploring row context, filter context, and context transition with related data.
Learn how DAX handles context transition with SUMX across regions, showing row context evaluation and how CALCULATE shifts to filter context to compute revenue.
Learn how to use the DAX CALCULATE function to filter revenue by multiple columns, such as region and product category, and understand how to apply different filters across columns.
Use the or operator (double pipe) to filter the location region for south or west and sum the revenue in the calculate context, with the option to include east.
Learn how to use variables in dax to pre calculate values within a formula, using var and return, and the if function to halve revenue over 100k by city.
Create month and quarter columns in Power BI using FORMAT() and MONTH(), apply Q1–Q4 prefixes, sort by month number, and link the calendar table to the fact table for reporting.
Explore how to expand the previous month DAX function by using selected year and month, variables, and an all calendar filter to calculate the prior month revenue.
Expand the dates ytd function by using dates between to define a date range from first day of selected year to last day in selection to compute revenue.
Learn how to calculate year to date revenue using the total ytd function, which avoids calculate and dates ytd while using a calendar date table.
Create a custom same period last year using values and dateadd to map selected dates to the previous year. Filter the calendar table to these dates and calculate revenue.
Learn how to rank sales reps with the DAX rankx iterator, using sum of sales and calculate to convert row context to filter context for accurate ranking.
Learn to create a top five states measure using calculate and topN to show the highest revenue states in a bar chart.
Background
DAX is the formula language of Power BI, Excel Power Pivot and SSAS Tabular. The formula language simply unlocks advanced capabilities for reporting in Power BI.
However, DAX is not an easy language to learn. Mastering it requires a proper understanding of the rudiments and a lot of constant practice.
In this course, I have used a very explanatory approach to ensure that you will understand, learn and master DAX faster than most courses where formulas ae being copied from a text editor without proper explanation of what is happening behind it.
As a Microsoft Most Valuable Professional for the Data Platform and a Microsoft Certified Trainer, I will be able to answer your DAX questions as you continue to develop your skills after this course.
What you will learn.
This course is suitable for all levels of Power BI users. You will learn from the introductory concepts to build a solid background. By the time you complete the course, you should have a better understanding of:
1. DAX usage in Power BI (Calculated Columns, Calculated Tables, Measures and Row Level Security)
2. The most important and used DAX functions
3. How the DAX Engine works behind the scenes
4. The CALCULATE function in DAX
5. Row Context, Filter Context and Context Transition
6. Time Intelligence functions and calculations
7. Other important DAX functions like RANKX and TOPN
Assignments.
Because DAX is about doing , and beyond looking, I am sorry to say that I included assignments for you. Don't worry if you stumble here and there while completing the assignments, it's completely normal. You will just have to watch the parts of the videos again till you are able to complete them. It's all for good.
The more DAX you write, the better you get over time. So this is a good opportunity to write a lot of them.