
This course teaches commonly used DAX functions for data analysis, enabling users to unleash the capabilities of Power Pivot, Power Query, and Power BI. Participants must have Power BI Desktop installed and be familiar with its interface, as well as have knowledge of creating data models and relationships between tables. The course provides all the necessary understanding to create DAX formulas, along with hands-on experience using provided datasets.
Master the syntax of a DAX expression by learning its structure, components, and arguments, and explore real data relationships in Power BI desktop to build formulas like total sales.
Explore DAX, a data analysis expression language for Power BI, and learn to create calculated columns, measures, and calculator tables; compare row-level vs aggregate use with memory and CPU trade-offs.
Create a DAX workflow using WEEKDAY to map orders by day of week, add a day number column, and define a total order qty measure for a Monday-to-Sunday view.
Use the EDATE function to compute an expiry date six months after the order date, adding a calculated column in the sales table, then format as a date without timestamp.
Learn to calculate customer age in Power BI using datediff and today, updating the age dynamically as of today; explore today, now, weekday, day, year, month, edate, and eomonth.
Extract a username from an email in Power BI DAX by using FIND to locate the @ symbol and LEFT to return the preceding characters, with optional uppercase or lowercase.
Explore the DAX if function to categorize day numbers into weekday and weekend, using the day number column to create a week status and summarize orders.
Explore how to build a nested IF in Power BI DAX to assign membership cards by income thresholds, outputting no card, silver, platinum, or gold.
Master using the and function in Power BI DAX to test multiple conditions, then pair it with if to label target customers by gender, marital status, and income.
Learn to use the DAX OR function in Power BI to test multiple conditions within an IF statement, determining eligibility for movie tickets for gold or platinum customers.
Convert day numbers to day names using the DAX switch function, mapping 1 through 7 to Monday through Sunday, with an optional else clause for handling errors.
Use the related function to fetch price per order from products and establish the relationship, then create measures for total revenue, total order quantity, total returned quantity, and return percentage.
This lecture discusses the concept of X functions in DAX, which require two arguments (a table and an expression). It provides a comparison between the SUM and SUMX functions, demonstrating how the latter function filters columns for calculations on a row-by-row basis. The section includes a demo on how to use SUMX with related tables to filter column data for more accurate calculations.
Explore how the all function in DAX removes filters to compute the percentage of total order by category, keeping the grand total constant, and compare with all except function.
Create a calculated column to map product names to keys in the sales table using the LOOKUPVALUE function. Pulls names from product table and contrasts with related when relationships exist.
Use the distinctcount function to compute the unique customer count by the customer key in the sales table, create a measure, and display results on a card in Power BI.
Rank countries by total revenue using the RANKX function in Power BI desktop, creating a measure with ALL to ignore filters, and display star rankings via UNICHAR and REPEAT.
Explore time intelligence in Power BI DAX, including year-to-date, month-to-date, and quarter-to-date calculations, using dates YTD to build a revenue YTD measure.
Explore how to compare current month revenue to the previous month using dateadd and time intelligence functions, and evaluate against a 105% target.
Learn to compare current month revenue with the same month last year in Power BI using DAX measures such as sameperiodlastyear and dateadd, and leverage time intelligence functions.
This lecture demonstrates how to check if specific customer IDs exist in the sales table using CONTAINS FUNCTION.
If you are someone dealing with reporting, with the help of DAX functions you can unlock the advanced power of reporting in Power BI. These functions will help you get better data insights.
DAX or Data Analysis Expression is a library of functions and operators, using which you can create formulas and expressions. This will help you with creating powerful formulas to ease your data analysis and reporting process.
This course is designed in a Problem Statement - Solution format where we start with the problem to which a solution is sought with the help of DAX functions where each component of the expression is clearly explained in easy-to-understand terms,
What is in store for you?
In this course, you will
1. Understand the concept of DAX and how to create calculate column, measure, tables, and quick measures
2. From the exhaustive list of DAX functions, we will be looking into the most frequently used functions from the family of
Date and Time function - WEEKDAY, EDATE, EOMONTH, DATEDIFF, TODAY, NOW
Text function - FORMAT, COMBINEVALUES, LEFT, RIGHT, FIND, UPPER, LOWER, UNICHAR, REPT
Logical function - IF, Nested IF, AND, OR, SWITCH
Relationship function - RELATED, CROSSFILTER, RELATEDTABLE
X-function - SUMX, RANKX
Filter function - CALCULATE, ALL, EARLIER, FILTER, LOOKUPVALUE
Statistical function - DISTINCTCOUNT
Time intelligence function- DATESYTD, DATEADD, SAMEPERIODLASTYEAR
Information function- CONTAINS
Table manipulation function- SUMMARIZECOLUMNS