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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
emmabrice
Frequent Visitor

Cash Flow statement

Hi 


Hoping that someone can help me with forecasting cash flow into the future.

I have tables a lot like this previous post https://community.powerbi.com/t5/Desktop/Generating-CashFlow-Forecast-Tables/td-p/532761

 

Basically a list of accounts with an expiry date and a monthly cash flow with start date being today.

 

What i'm struggling with is getting the totals correct when i'm grouping the months into quarters.

Monthly Drawdown =
CALCULATE(sum('Datatable'[MonthlyDrawDown]),
FILTER(ALLSELECTED('DataTable'),
'Datatable'[Expiry] >= max(Dates[Date]) &&
'Datatable'[EOM] < max(Dates[Date])
))
 
When i look at this by quarter the value is the same as the previous month.
I've tried to use the logic in the Rob Collie excel users guide but i can't get it to work.  Can anyone help at all please?
 
Totals.PNGCashflows.PNG
 

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

You might try:
Quarter Totals = SUMX(SUMMARIZE(tableformonth_year, table[month_year], "quarter totals", [Monthly Drawdown]), [quarter totals]))





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

You might try:
Quarter Totals = SUMX(SUMMARIZE(tableformonth_year, table[month_year], "quarter totals", [Monthly Drawdown]), [quarter totals]))





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.