Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi guys, I have just recently started learning Power BI and got stuck on one issue. I want to make new column in PBI which is named "Total distance" and it should be a running total where it does a reset when ever a new client name appers. Below I have attached a simplified table of how it should look.
Thank you in advance for any help given
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Running total: =
IF (
NOT ISBLANK ( SUM ( Data[Distance] ) ),
CALCULATE (
SUM ( Data[Distance] ),
'Calendar'[Date] <= MAX ( 'Calendar'[Date] )
)
)
Hi,
Please check the below picture and the attached pbix file.
Running total: =
IF (
NOT ISBLANK ( SUM ( Data[Distance] ) ),
CALCULATE (
SUM ( Data[Distance] ),
'Calendar'[Date] <= MAX ( 'Calendar'[Date] )
)
)
You are absolute life saver! Thank you so much!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |