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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.