DAX Function Guide
CLOSINGBALANCEQUARTER
Sam McKay
CEO & Founder
How does the CLOSINGBALANCEQUARTER work?
CLOSINGBALANCEQUARTER Formula Syntax
CLOSINGBALANCEQUATER(
<expression>,<dates>[,<filter>]
)
How do you use the CLOSINGBALANCEQUARTER?
Use the CLOSINGBALANCEQUARTER function if you want to calculate the closing balances on a quarter basis.
This DAX function cannot be used when in DirectQuery mode.
Related Blog Posts
Loading
Considerations when using the CLOSINGBALANCEQUARTER?
The CLOSINGBALANCEQUARTER has three parameters: the expression that returns a scalar value, the date column, and a Boolean expression that defines the filter to apply in the current context.
Related Video Tutorials
Loading
Formula examples using the CLOSINGBALANCEQUARTER
=CLOSINGBALANCEQUARTER(SUMX(ProductInventory,ProductInventory[UnitCost]*ProductInventory[UnitsBalance]),DateTime[DateKey])
=CLOSINGBALANCEQUARTER ( SUMX (ProductInventory,[UnitsBalance]*[UnitCost]),ProductInventory[InventoryDate] )
=CLOSINGBALANCEQUARTER(Sum(Sales[Quantity]), Sales[OrderDate])
Related Courses
Loading