Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Rolling Fund Balance

I have the following table:

 

JMcAnarney_0-1647960166883.png

 

The issue is that balance is not correctly calcuating as it is taking my beg balance plus the quarter fund surplus deficeit and not accounting for a rolling total.  So for q2 it should really be 29.88 + 3m.  How can I write a formula that accounts for the rolling fund balance?  Right now It is just calcuating fund surplus: by 

 

Fund Surplus / (Deficit) =
CALCULATE([2021 Revenues:] +[2021 Expenses:])
 
2021 Revenues: =
CALCULATE( SUMX ('GL298I',[AMOUNT-3]), 'Calendar'[Year] = 2021, 'Account'[Main Type] = "Revenues") *-1
 
Balance: =
[Beginning Year Cash Balance] + [Fund Surplus / (Deficit)]
 
How can I get this balance to account for a rolling fund surplus and deficit in the balance formula.
 
 

 

2 REPLIES 2
Anonymous
Not applicable

Hi , @Anonymous 

Can you provide your pbix file (remove sensitive info) ?It may help us to deal with your issue easier .

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,
Can you share sample data and sample output in table format?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.