Introduction to DAX for Power BI
Using Data Analysis Expressions to solve common business problems in Power BI
Description
In this two-day course, students will be introduced to using Data Analysis Expressions (DAX), which is the expression language that is used to create custom calculations in the Power BI Data model. The course covers some of the theoretical underpinnings of the data model and DAX, but the emphasis is on using DAX to solve common business problems. Students will learn how to write their own calculated columns, measures, and tables, how to visualize the way Power BI computes DAX calculations, and how to troubleshoot custom code. This instructor-led course consists of a combination of lectures, demonstrations, and hands-on labs.
Course Outline
MODULE 1- GETTING STARTED WITH DAX
- INTRODUCTION TO DAX
- CREATING OBJECTS WITH DAX
- CONTEXT AND RULES OF EVALUATION
- VARIABLES, COMMENTS, AND TESTING
MODULE 2- PERFORMING BASIC CALCULATIONS
- GETTING STARTED
- IMPLICIT MEASURES
- ADDING QUICK MEASURES
- WORKING WITH DAX DATA TYPES.
- DOING BASIC MATH
- USING LOGIC IN YOUR CALCULATIONS
- USING THE IF() FUNCTION
- NESTED IF()
- USING THE SWITCH() FUNCTION
- ADVANCED SWITCH()
- LOGICAL OPERATORS & FUNCTIONS- -, OR(), &&, AND(), NOT()
- AGGREGATING AND SUMMARIZING DATA
- THE SUM() FUNCTION
MODULE 3- WORKING WITH CONTEXT IN THE DATA MODEL
- CONTEXT DEFINED
- DATA MODELING BASICS
- INTRODUCTION TO DIMENSIONAL MODELING
- RELATIONSHIPS AND THEIR EFFECT ON THE EVALUATION CONTEXT
- GETTING DATA FROM OTHER TABLES USING RELATED() AND RELATEDTABLE
- LOOKING UP DATA WITHOUT USING RELATIONSHIPS
- MODIFYING THE CONTEXT USING CALCULATE()
MODULE 4- PERFORMING MORE ADVANCED CALCULATIONS
- THE DAX ITERATOR FUNCTIONS
- USING TABLE MANIPULATION FUNCTIONS
MODULE 5- WORKING WITH TIME>
- PERFORMING DATE CALCULATIONS
- WORKING WITH DATE TABLES
- GENERATING A DATE TABLE WITH THE CALENDAR() FUNCTION
- DEFINING CUSTOM OPERATING PERIODS
- YTD, QTD, AND MTD CALCULATIONS
- CUSTOM TO-DATE CALCULATIONS
- FINDING YEAR-OVER-YEAR CHANGE
- FINDING MOVING AVERAGES
MODULE 6- ENHANCING THE USER EXPERIENCE
- CONTROLLING VISIBILITY OF YOUR MEASURES
- USING WHAT-IF PARAMETERS
- ADDING BANDING
- USING DAX TO PROVIDE ROW-LEVEL SECURITY
Prerequisites
Prior Course Recommendation: Microsoft Power BI- Data Analysis Practitioner