OPENINGBALANCEYEAR

OPENINGBALANCEYEAR Evaluates the expression at the first date of the year in the current context.


Syntax

OPENINGBALANCEYEAR(expression,dates[,filter][,year_end_date])

Parameters

Expression- An expression that returns a scalar value.

Dates – A column that contains dates.

Filter – (optional) An expression that specifies a filter to apply to the current context.

Year_end_date – (optional) A literal string with a date that defines the year-end date. The default is December 31.

Return Value

A scalar value that represents the expression evaluated at the first date of the year in the current context.


Reference Data

https://docs.microsoft.com/en-us/dax/dax-function-reference

DAX Functions / Time Intelligence Functions / OPENINGBALANCEYEAR