CLOSINGBALANCEQUARTER DAX Function in Power BI

The CLOSINGBALANCEQUARTER DAX function evaluates the expression at the last date of the quarter in the current context.

DAX Syntax CLOSINGBALANCEQUARTER(Expression, Dates[,Filter])

The function has the following parameters:

Example: Create a measure with name “CLOSINGBALANCEQUARTER Measure”.

DAX

CLOSINGBALANCEQUARTER Measure = CLOSINGBALANCEQUARTER(SUM('Students List'[10th Marks]),'Students List'[Dates])

The output of the above dax code is shown below:

CLOSINGBALANCEQUARTER dax function in Power BI

Here the total 704 in the CLOSINGBALANCEQUARTER Measure column, refers to the latest context i.e 14th August 1991.