The CALCULATE function helps calculate the sum of an entire column. It can be modified using filters.
Syntax :
CALCULATE ( [, [, [, … ]]] )​
Expression : The expression that has to be evaluated.
Filter : The filter is a boolean expression or a table expression that is supposed to define a filter.