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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
anwargabr
Helper I
Helper I

Running Total Measures

Dear ,  I need your help to prepare cashflow on power bi, the issue is that I can show the cash balance by running total measure for the total day, but if i tried to look by transaction I can't.

 

apperciate if some one could help in this.CASHFLOW_Page_1.jpg

6 REPLIES 6
smpa01
Super User
Super User

@anwargabr  try this measure

_runningBalance = 
CALCULATE (
    SUM ( Append1[Cr] ) - SUM ( Append1[Dr] ),
    FILTER ( ALLSELECTED ( 'Calendar' ), 'Calendar'[Date] <= MAX ( Append1[Date] ) )
)

 

smpa01_0-1640471869627.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
v-zhangti
Community Support
Community Support

Hi, @anwargabr 

 

Can you provide simple EXCEL data and PBIX files for testing? Sensitive data can be removed. Also need to please clarify the meaning of some of your fields. What kind of results do you expect? Hopefully, you can show it with an example graph.

 

Looking forward to your reply.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks, I have added the files , u can download it from here.

The isssue is when I'm using description with the second table in powerbi file, YTD dax is not working.

I need to show the availabe cash balance after each transactions
https://drive.google.com/file/d/1TFDG76opui9lwBqrd0CLsiRoj_nV3A4w/view?usp=sharing

Do you have a date table that contains all dates in the date range you are using? If not, YTD will not work.

bcdobbs
Community Champion
Community Champion

Can you provide a little more information?

Some examples of the data in the tables and a picture of your data model.

Even better would be a demo pbix with some fake data in it.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Thanks, I have added the files , u can download it from here.

The isssue is when I'm using description with the second table in powerbi file, YTD dax is not working.

I need to show the availabe cash balance after each transactions
https://drive.google.com/file/d/1TFDG76opui9lwBqrd0CLsiRoj_nV3A4w/view?usp=sharing

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors