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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors