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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
v-yetao1-msft
Community Support
Community Support

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?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.