Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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!
User | Count |
---|---|
11 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
25 | |
18 | |
16 | |
10 | |
7 |