Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi, Do you know how to calculate beginning balance in power bi?
Solved! Go to Solution.
Hi @Anonymous,
It depends on your data model. If I were to calculate the balance sheet value, I'd use a measure similar to below:
Balance Sheet Value =
CALCULATE (
    SUM ( Fact[Value] ),
    FILTER (
        ALL ( DatesTable ),
        DatesTable[DateColumn] <= MAX ( DatesTable[DateColumn] )
    )
)And for the beginning balance, that would be:
Balance Sheet Value =
CALCULATE (
    SUM ( Fact[Value] ),
    FILTER (
        ALL ( DatesTable ),
        DatesTable[DateColumn] < MIN ( DatesTable[DateColumn] )
    )
)
					
				
			
			
				
Hi @Anonymous,
It depends on your data model. If I were to calculate the balance sheet value, I'd use a measure similar to below:
Balance Sheet Value =
CALCULATE (
    SUM ( Fact[Value] ),
    FILTER (
        ALL ( DatesTable ),
        DatesTable[DateColumn] <= MAX ( DatesTable[DateColumn] )
    )
)And for the beginning balance, that would be:
Balance Sheet Value =
CALCULATE (
    SUM ( Fact[Value] ),
    FILTER (
        ALL ( DatesTable ),
        DatesTable[DateColumn] < MIN ( DatesTable[DateColumn] )
    )
)
					
				
			
			
				
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.