Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Calculate DAX Function and Filter Context - ALLSELECTED and KEEPFILTERS

ExcelIsFun via YouTube

Overview

Dive into a comprehensive video tutorial on the CALCULATE DAX function, filter context, and related concepts in Power BI and Excel Power Pivot. Explore 50 examples covering topics such as Boolean filters, overwrite operators, ALLSELECTED, KEEPFILTERS, and time intelligence functions. Learn how to manipulate filter context, perform context transition, and solve complex filter reduction errors. Gain insights into expanded table concepts, relationships, and DAX formula evaluation context. Download accompanying files and notes to enhance your learning experience in this in-depth Microsoft Power Tools for Data Analysis class taught by Excel MVP Mike Girvin.

Syllabus

) Introduction.
) Filter Context, First Look.
) CALCULATE to change Filter Context with a Boolean Filter.
) CALCULATE and CALCULATETABLE DAX Functions.
) What is a Boolean Filter?.
) First look at the Overwrite Operator in CALCULATE. Merge the Internal Filter Context and External Filter Context.
) CALCULATETABLE to change Filter Context with a Boolean Filter.
) CALCULATE to perform Context Transition.
) All Measures have a Hidden CALCULATE Function.
) Boolean Filter is always converted to a FILTER & ALL DAX Function construction.
) DAX Studio to look at FILTER and ALL Equivalent for a Boolean Filter.
) VALUES rather than ALL in first argument of FILTER.
) VALUES Function to bring a Variable into a Formula and use it as a condition for a Boolean Filter.
) AND Logical Test – 4 Examples.
) Can NOT use two different columns in a Boolean Filters.
) OR Logical Test Boolean Formulas.
) Can NOT Directly Compare Two Columns as a Boolean Filter. Keystone Pricing Examples..
) DAX Studio to see how FILTER and ALL delivers a table where we directly compare two columns for a DAX Measure.
) Can NOT use MIN or MAX or other aggregate functions as a condition for a Boolean Filter.
) Frequency Distribution DAX Formula. Learn about the COUNTROWS Function.
) ALL DAX Function & Grand Totals. Learn about the Remove Operator in ALL DAX Function when you use it in the Filter argument of CALCULATE.
) Look at Data Model for Power BI File for looking more closely at the Overwrite Operator.
) Overwrite Operation. Second look at the Overwrite Operator in CALCULATE. Merge the Internal Filter Context and External Filter Context into the Final Filter Context.
) Reminder about ALL before we learn about ALLSELECTED. What is the problem that ALLSELECTED can solve?.
) ALLSELECTED to create Grand Totals that respect the filtering in the PivotTable.
) Context Transition is how ALLSELECTED gets to the Grand Total Cell Filter Context.
) Hidden Context Transition for Measures in an Excel PivotTable or Power BI Visual.
) ALLSELECTED and Context Transition, the Full Story.
) Visual Example of when ALLSELECTED will not get back to the Filter Context of the Grand Total Cell in the Excel PivotTable or Power BI Visual.
) Use ALLSELECTED DAX Function in CALCULATE Measures.
) ALLSELECTED Functions works on Cross Tab Reports too !.
) Example of Measure in Power BI Visual that uses ALLSELECTED and will not get back to the Filter Context of the Grand Total Cell Power BI Visual.
) Look at new Data Model for next example.
)First example of the KEEPFILTERS DAX Function to force an AND Logical Test rather than an Overwrite Operation.
) What is a Complex Filter? What is a Complex Filter Reduction Error?.
) How KEEPFILTERS can help solve a Complex Filter Reduction Error for Year Column in AVERAGEX..
) Why KEEPFILTERS is used in the New Quick Measure in Power BI.
) How KEEPFILTERS can help solve a Complex Filter Reduction Error for Year Column and Month Column in CROSSJOIN in AVERAGEX.
) Data Model solution to solve Complex Filter Reduction Error.
) Determine if a filter is a complex filter with CROSSJOIN.
) Expanded Table Concept & Relationships..
) Table Filters & Expanded Table as filters in the Filter argument of CALCULATE.
) Expanded Table Filter with ALL Function. 2 Examples.
) Table Filter to send a filter backwards across a Many-To-One Relationship. Great Visual for understanding this filter.
) ALLEXCEPT DAX Function with an Expanded Column.
) Examples of Time Intelligence Functions.
) Measure for Revenue from Last Year. SAMPERIODLASTYEAR.
) Measure for Revenue for Last Month. DATEADD and ISFILTERED DAX Functions.
) Compare Excel and DAX Formulas.
) Measure for % Change using IF, BLANK, DIVIDE and HASONEVALUE DAX Functions.
) DAX Formula Evaluation Context Summary.

Taught by

ExcelIsFun

Reviews

5.0 rating, based on 1 Class Central review

Start your review of Calculate DAX Function and Filter Context - ALLSELECTED and KEEPFILTERS

  • Profile image for Herlin Purnami
    Herlin Purnami
    Penjelasannya cukup mudah dipahami dan tadi dalam video diberikan contohnya juga. Jadi waktu diaplikasikan sendiri di Excel, dax studio, maupun bi power tidak membingungkan. Secara keseluruhan, video ini sangat bermanfaat bagi saya yang ingin mempelajari DAX. Penjelasannya yang mudah dipahami dan contoh yang diberikan membuat saya lebih mudah dalam menerapkan DAX di Excel, DAX Studio, maupun Power BI. Saya sangat merekomendasikan video ini bagi siapa saja yang ingin belajar DAX.
    Mungkin saran saya subtitle dari video tadi lebih banyak bahasanya agar bisa dipahami lebih detail.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.