
Advanced Analytics and DAX Functions Advanced DAX calculations and measures Advanced DAX (Data Analysis Expressions) calculations and measures are powerful tools in Power BI, Excel Power Pivot, and SQL Server Analysis Services (SSAS). DAX allows you to create complex calculations that can summarize data, create custom aggregations, and build dynamic reports. Key Advanced DAX Concepts: Context: DAX calculations are highly influenced by row context and filter context . Row context is the context of an individual row in a table. Filter context is the set of filters applied to the data. Time Intelligence Functions: These functions allow you to perform calculations based on date and time data. Common time intelligence functions include: TOTALYTD() , TOTALMTD() , TOTALQTD() : Cumulative totals for the Year, Month, or Quarter. SAMEPERIODLASTYEAR() : Compares the current period to the same period last year. DATEADD() : Shifts dates by a specified number of intervals. PARALLELPERIOD() : Shifts a date by a specific number of periods, similar to DATEADD . CALCULATE Function: CALCULATE() is one of the most powerful functions in DAX. It allows you to modify the filter context of a measure or expression. Example: Sales LY = CALCULATE(SUM(Sales[Amount]), SAMEPERIODLASTYEAR(Date[Date])) Advanced Filter Context Manipulation: ALL() :
Updated July 15, 2026
Have questions about this course?
Contact Us