From the course: Excel Business Intelligence: Power Pivot and DAX

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

The CALCULATE function

The CALCULATE function

- [Instructor] So up until this point, you might be asking yourself, what's so special about this DAX language anyway? Based on what we've looked at so far, these logical operators, these calculated columns, these text formulas, it's all extremely similar to regular old Excel syntax. In fact, in many cases, it's just about identical with the exception that we're pointing to columns and tables instead of individual cells. We've had a few interesting nuggets like distinct count is pretty cool, and switch is a great option. But we haven't really begun to scratch the surface of what DAX is really capable of. And that's gonna change now. Because now we're shifting gears into the DAX filter functions. And these functions are really what starts to set DAX apart as a distinct formula language. And we're gonna kick it off with hands-down, the most popular filter function of all, called calculate. So, calculate basically just evaluates an expression or a formula under a set of defined filters…

Contents